Is it possible to rotate a game Object by applying the Rotation matrix to it. Instead of passing each angle and rotating it.
I tried to use GL.MultMatrix()
but there is no movement in game Object
Code sinppet:
GL.PushMatrix();
GL.MultMatrix(m);
GL.PopMatrix();
The above snippet is in update()
function. Docs says GL.MultMatrix()
is similar to glMultMatrix
in opengl library.Which we can use in openGl to Rotate right!!
If there is any method to achieve this please mention. Thanks