init_from_matrix


Description:

public unowned Quaternion? init_from_matrix (Matrix m)

Initializes a Quaternion using the rotation components of a transformation matrix.

Parameters:

this

a Quaternion

m

a Matrix

Returns:

the initialized quaternion