Matrix.rotate
void rotate(float angle, graphene.vec3.Vec3 axis)Adds a rotation transformation to m, using the given angle and axis vector.
This is the equivalent of calling [graphene.matrix.Matrix.initRotate] and then multiplying the matrix m with the rotation matrix.
Parameters
angle | the rotation angle, in degrees |
axis | the rotation axis, as a #graphene_vec3_t |