inverse matrices

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
UzMaN
Posts: 3
Joined: Fri Oct 29, 2004 11:50 pm

inverse matrices

Post by UzMaN »

while examining the codes in CLMTerrainSceneNode class,written by Zola
(http://irrlicht.sourceforge.net/phpBB2/ ... c&start=15)

i found following lines in render
AbsoluteTransformation.getInverse(invAbsoluteTransform);
pos.set(camera->getPosition());
tgt.set(camera->getTarget());
up.set(camera->getUpVector());

invAbsoluteTransform.transformVect(pos);
invAbsoluteTransform.transformVect(tgt);
invAbsoluteTransform.transformVect(up);

what does it mean ? that is transforming the camera with the inverse matrix of SceneNode ?
thanks
Post Reply