ghord
ghord

Reputation: 13815

Handedness of Matrix4x4 camera methods

.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?

Upvotes: 6

Views: 769

Answers (1)

ghord
ghord

Reputation: 13815

Strangely enough, all methods are using right-handed coordinates, contrary to Microsoft's own DirectX.

Upvotes: 5

Related Questions