[ Version ( since = "1.0" ) ]
public void rotate (float angle, Vec3 axis)
Adds a rotation transformation to this, using the given angle
and axis
vector.
This is the equivalent of calling init_rotate and then multiplying the matrix this with the rotation matrix.
this |
a Matrix |
angle |
the rotation angle, in degrees |
axis |
the rotation axis, as a Vec3 |