Advertisement

Help please: Matrix issues............. :((((

Started by March 16, 2003 02:20 PM
11 comments, last by Lyve 21 years, 11 months ago
The assertion fails if the address of the two arrays are not the same.

float oldA[16];

float newA[16];

ASSERT(oldA == newA); // this fails for sure

As said before, the assert was only pseudo-code, the assert is NOT what I''m doing in my real code, I only wanted to make clear that the two matrices are not the same!


_____________________________________
Visit http://www.nilsschneider.de for finest trance music, studio, bio, guestbook and more!
_____________________________________http://www.winmaze.de, a 3D shoot em up in OpenGL, nice graphics, multiplayer, chat rooms, a nice community, worth visiting! ;)http://www.spheretris.tk, an upcoming Tetrisphere clone for windows, a 3D tetris game on a sphere with powerful graphics for Geforce FX and similar graphics cards.
Advertisement
yes. the inverse you are using there is the transpose.
and don''t forget that floating point numbers arn''t infinite precision. so while you might get very similar answers, they almost certainly won''t be the same.

| - Project-X - my mega project.. getting warmer - | - adDeath - an ad blocker I made - | - email me - |

This topic is closed to new replies.

Advertisement