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
Help please: Matrix issues............. :((((
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!
_____________________________________
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.
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 - |
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

This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement