Package: graphene

Function graphene:matrix-rotate-quaternion

Lambda List

graphene:matrix-rotate-quaternion (matrix quaternion)

Arguments

matrix -- a graphene:matrix-t instance
quaternion -- a graphene:quaternion-t instance

Details

Adds a rotation transformation to the matrix, using the given quaternion. This is the equivalent of calling the graphene:quaternion-to-matrix function and then multiplying the matrix with the rotation matrix.
 

See also

#2025-4-6