hello hope u are all well?
i got a little problem with rotations. if i translate then do a rotation then another translation i cant seem to get the new angle of the position of my object.
i can get the location transformation like this:
float[] mat = new float[16];
glGetFloatv(GL_MODELVIEW_MATRIX, mat);
mat[12] being x
mat[13] being y
mat[14] being z
are the rotation points in the matrix also? can anyone tell me how i get them out.
angle, x, y, z. is what i’m after.
tops…