Original Post
I would like to rotate my camera from its local axis(Z:viewing axis. X,Y:screen axis). If I give a rotation matrix, I would like to convert this matrix into a camera matrix.
So, to do that, I calculate a first matrix to change the set of axis:
CMatrix axis (vx.x, vx.y, vx.z, 0,
vy.x, vy.y, vy.z, 0,
vz.x, vz.y, vz.z, 0,
0, 0, 0, 1);
So in the function, I simply multiply axis with the global rotation matrix.
But, as u can imagine, it''s not working...
Do you know why?