initRotate

fun initRotate(angle: Float, axis: Vec3): Matrix

Initializes @m to represent a rotation of @angle degrees on the axis represented by the @axis vector.

Return

the initialized matrix

Since

1.0

Parameters

angle

the rotation angle, in degrees

axis

the axis vector as a #graphene_vec3_t