Package: graphene
Function graphene:matrix-rotate
Lambda Listgraphene:matrix-rotate (matrix angle axis) Argumentsmatrix -- a graphene:matrix-t instance angle -- a number for the rotation angle, in degrees axis -- a graphene:vec3-t instance with rotation axis Return ValueThe graphene:matrix-t instance with the result. Details
Adds a rotation transformation to the matrix, using the given angle and
axis vector. This is the equivalent of calling the graphene:matrix-init-rotate
function and then multiplying the matrix with the rotation matrix. Notes | See also
|
#2025-4-6