From: Doug M. <mc...@ia...> - 2005-06-23 21:54:13
|
Allen Bierbaum wrote: > Allen Bierbaum wrote: > >> Unfortunately, it looks like there are some bugs in the conversion >> somewhere. My guess is that there are some border cases in the >> extraction of the euler angles from the Matrix. >> >> I have added a new test case that exhaustively tests all Euler getting >> and setting to find these issues. The test can be found in the >> MatrixGenTest test case. If anyone has some time to look into this, >> you can use this test case to reproduce the problem. > > > I just commited some changes that should fix the errors. (at least it > fixes the ones the test case found :) > > Give it a spin and let me know. > Just do a cvs checkout I assume? Thanks for the prompt response. This was going to be my evening project but I guess I can do some testing instead. I appreciate the help. > -A > >> >> -Allen >> >> Doug McCorkle wrote: >> >>> Hello, >>> When using gtml I noticed that when I pass an identity Matrix44f >>> into >>> make< gmtl::EulerAngleZXY >( identity ) that I get back 90,0,90. If I >>> ask for an EulerAngleXYZ I get back 0,0,0 and ZYX return 0, nan, 0. Is >>> this the correct behavior of EulerAngle? I thought that no matter what >>> Euler combination that I ask for should return 0,0,0 for an identity >>> matrix. Thanks for the help in understanding this better. I am using >>> gmtl 0.4.5. >>> >>> >>> Doug >>> |