init_from_quaternion


Description:

public unowned Euler? init_from_quaternion (Quaternion? q, EulerOrder order)

Initializes a Euler using the given normalized quaternion.

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

Parameters:

this

a Euler

q

a normalized Quaternion

order

the order used to apply the rotations

Returns:

the initialized Euler