Euler.init

Initializes a #graphene_euler_t using the given angles.

The order of the rotations is %GRAPHENE_EULER_ORDER_DEFAULT.

class Euler
init
(
float x
,
float y
,
float z
)

Parameters

x float

rotation angle on the X axis, in degrees

y float

rotation angle on the Y axis, in degrees

z float

rotation angle on the Z axis, in degrees

Return Value

Type: Euler

the initialized #graphene_euler_t

Meta