Matrix.rotate

Adds a rotation transformation to @m, using the given @angle and @axis vector.

This is the equivalent of calling graphene_matrix_init_rotate() and then multiplying the matrix @m with the rotation matrix.

class Matrix
void
rotate
(
float angle
,)

Parameters

angle float

the rotation angle, in degrees

axis Vec3

the rotation axis, as a #graphene_vec3_t

Meta