Im having an small problem i cant figure out (my math skills are not very good).
I want to rotate an sphere with the mouse.
The following code works with one axis:
float xdelta = (float)(Math.cos(Math.toRadians(rx)));
float zdelta = (float)(Math.sin(Math.toRadians(rx)));
where rx = x rotation (mouse input)
ry = y rotation (mouse input)
however this has odd results when both rx and ry != 0.
So my question is: how to rotate an 3d rotation matrix?