matrix4 bug ?

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
neojzs

matrix4 bug ?

Post by neojzs »

inline matrix4& matrix4::operator*=(const matrix4& other)

newMatrix[11] = m1[3]*m2[8] + m1[7]*m2[10] + m1[11]*m2[10] + m1[15]*m2[11];

change

newMatrix[11] = m1[3]*m2[8] + m1[7]*m2[9] + m1[11]*m2[10] + m1[15]*m2[11];

is it right ? :?
jox
Bug Slayer
Posts: 726
Joined: Thu Apr 22, 2004 6:55 pm
Location: Germany

Post by jox »

Yes, you're right! Same also in:

inline matrix4 matrix4::operator*(const matrix4& other) const

(Irrlich 0.6)
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

Yep, thanks, got this bug already. :)
Post Reply