problem with matrix4::rotateVect

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
calimero
Posts: 45
Joined: Sun Aug 08, 2004 4:31 pm
Location: Nice, France

problem with matrix4::rotateVect

Post by calimero »

it seems that there is a problem with the matrix arithmetic,
Niko can you give us your point of view :

http://irrlicht.sourceforge.net/phpBB2/ ... php?t=3658
Thulsa Doom
Posts: 63
Joined: Thu Aug 05, 2004 9:40 am
Location: Germany

Post by Thulsa Doom »

I spotted a possible Problem in matrix4.h

Line 00189
should be

Code: Select all

00189 newMatrix[11] = m1[3]*m2[8] + m1[7]*m2[9] + m1[11]*m2[10] + m1[15]*m2[11];
Line 00224
should be

Code: Select all

00224 m3[11] = m1[3]*m2[8] + m1[7]*m2[9] + m1[11]*m2[10] + m1[15]*m2[11];
calimero
Posts: 45
Joined: Sun Aug 08, 2004 4:31 pm
Location: Nice, France

Post by calimero »

sorry for the "up" but I think it's important.

Niko we definitively need your point of view .
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

That's interesting, now I'm quite confused. In one of the newer versions 0.6 (I think, or was it 0.7?) I had these two lines changed, because of another bug report. I didn't think a lot about it, because it looked simply right for me.. Now I'm confused. I'll do some investigations. :)
Post Reply