.NET framework 4.6 instroduced new classes in System.Numerics
namespace including Matrix4x4
. It also introduced new static helper methods for 3D computer graphics like CreateLookAt
or CreatePerspectiveFieldOfView
.
Since DirectX and OpenGL differ in "handedness" (DirectX uses lef-handed coordinates while OpenGL right-handed coordinates), usually such APIs are available in both versions and annotated with either RH
or LH
to prevent confusion. That is not the case with System.Numerics
, where we have only one version of each method.
My question is, what is the handedness of new System.Numerics
methods?
Strangely enough, all methods are using right-handed coordinates, contrary to Microsoft's own DirectX.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With