init_from_vec3


Description:

public unowned Euler? init_from_vec3 (Vec3? v, EulerOrder order)

Initializes a Euler using the angles contained in a Vec3.

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

Parameters:

this

the Euler to initialize

v

a Vec3 containing the rotation angles in degrees

order

the order used to apply the rotations

Returns:

the initialized Euler