Matrix.initRotate

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

Parameters

angle float

the rotation angle, in degrees

axis graphene.vec3.Vec3

the axis vector as a #graphene_vec3_t

Return Value

Type: graphene.matrix.Matrix

the initialized matrix