init_from_matrix


Description:

public unowned Euler? init_from_matrix (Matrix? m, EulerOrder order)

Initializes a Euler using the given rotation matrix.

If the Matrix m is null, the Euler will be initialized with all angles set to 0.

Parameters:

this

the Euler to initialize

m

a rotation matrix

order

the order used to apply the rotations

Returns:

the initialized Euler