PDA

View Full Version : glMultMatrixf (Symmetry)



Erakis
02-06-2002, 09:02 AM
Hello.
I've just try to multiplied a Rotation matix by the MODEL_VIEW matrix and it's work well.

X Rotation matrix :
[ 1 0 0 0 ]
[ 0 Cos(Rot) -Sin(Rot) 0 ]
[ 0 Sin(Rot) Cos(Rot) 0 ]
[ 0 0 0 0 ]

But if I want to do a X symmetry I use this one :
[-1 0 0 0 ]
[ 0 1 0 0 ]
[ 0 0 1 0 ]
[ 0 0 0 1 ]

When I multiplied both, it doesn't work. Why ?

Thank.