From: Allen B. <al...@vr...> - 2005-06-23 14:49:44
|
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. -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 > > > > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click > _______________________________________________ > ggt-devel mailing list > ggt...@li... > https://lists.sourceforge.net/lists/listinfo/ggt-devel > |