Quaternion.initFromMatrix

Initializes a #graphene_quaternion_t using the rotation components of a transformation matrix.

Parameters

m graphene.matrix.Matrix

a #graphene_matrix_t

Return Value

Type: graphene.quaternion.Quaternion

the initialized quaternion