Matrix.initRotate
graphene.matrix.Matrix initRotate(float angle, graphene.vec3.Vec3 axis)Initializes m to represent a rotation of angle degrees on the axis represented by the axis vector.
Parameters
angle | the rotation angle, in degrees |
axis | the axis vector as a #graphene_vec3_t |
Returns
the initialized matrix