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

anglethe rotation angle, in degrees
axisthe rotation axis, as a #graphene_vec3_t