Original Post
This is more of a math question, so I''ll post it here:
How would you test the handedness of a matrix?
Can you tell if a 3x3 rotation matrix, for example, is left-handed or right-handed?
[ X.x Y.x Z.x ]
M = | X.y Y.y Z.y ]
[ X.z Y.z Z.z ]
if (Z == (X cross Y) )
system is right-handed
else
system is left-handed
endif
quote:
Original post by tangentz
I agree that you can test the "handedness" of a coordinate
system given the basis {v1, v2, v3}.
if (v1 x v2) . v3 > 0, then it''s right-handed.
if (v1 x v2) . v3 < 0, then it''s left-handed.
However, the rotation matrix ITSELF has no notion of "handedness".
Since it is orthogonal (orthonormal), it preserves lengths
and angles, hence the coordinate system. That''s all.
The most you can say about a rotation matrix is whether it
is a reflection (determinant is -1) which reverses "handedness"
or a rotation (determinant is 1) which preserves "handedness".
Please feel free to correct any mistakes I made.
~~~~
Kami no Itte ga ore ni zettai naru!
This topic has been locked by a moderator. New replies are not allowed.
With your permission, GameDev.net uses analytics cookies to understand how people use the platform. You can accept analytics or continue with necessary cookies only. Learn more