This method of the Direct3dRMFrame Class adds a rotation about (x, y, z) by the number of radians specified in theta.
public void addRotation(int typ, float x, float y, float z, float theta);
typ | A value of combine type that specifies how to combine the new rotation with any current frame transformation. |
x | The axis about which to rotate. |
y | The axis about which to rotate. |
z | The axis about which to rotate. |
theta | The angle of rotation, in radians. |
The specified rotation changes the matrix only for the frame identified by this object. This method changes the objects in the frame only once, unlike setRotation, which changes the matrix with every render tick.