View Single Post
Old 12-04-2003, 10:35 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
Hi David,

The makeRot function sets the 4x4 matrix to represent the given axis angle rotation. Since there are many ways to represent a rotation the rotation returned might not always be exactly the same as the one given. [0,1,0,180] is the same as [0,-1,0,180], even though they don't look the same.

However your second example isn't correct and I believe we have fixed that problem. If you like, i can send you a patch for it, otherwise you'll have to wait for the next release.
Reply With Quote