Since 1.2Optionalproperties: Partial<{}>Checks if two Graphene.Euler are equal.
true if the two Graphene.Euler are equal
Frees the resources allocated by graphene_euler_alloc().
Retrieves the first component of the Euler angle vector, depending on the order of rotation.
See also: graphene_euler_get_x()
the first component of the Euler angle vector, in radians
Retrieves the second component of the Euler angle vector, depending on the order of rotation.
See also: graphene_euler_get_y()
the second component of the Euler angle vector, in radians
Retrieves the third component of the Euler angle vector, depending on the order of rotation.
See also: graphene_euler_get_z()
the third component of the Euler angle vector, in radians
Retrieves the order used to apply the rotations described in the Graphene.Euler structure, when converting to and from other structures, like Graphene.Quaternion and Graphene.Matrix.
This function does not return the Graphene.EulerOrder.DEFAULT enumeration value; it will return the effective order of rotation instead.
the order used to apply the rotations
Retrieves the rotation angle on the X axis, in degrees.
the rotation angle
Retrieves the rotation angle on the Y axis, in degrees.
the rotation angle
Retrieves the rotation angle on the Z axis, in degrees.
the rotation angle
Initializes a Graphene.Euler using the given angles.
The order of the rotations is Graphene.EulerOrder.DEFAULT.
rotation angle on the X axis, in degrees
rotation angle on the Y axis, in degrees
rotation angle on the Z axis, in degrees
the initialized Graphene.Euler
Initializes a Graphene.Euler using the angles and order of another Graphene.Euler.
If the Graphene.Euler src is null, this function is equivalent
to calling graphene_euler_init() with all angles set to 0.
Optionalsrc: Eulerthe initialized Graphene.Euler
Initializes a Graphene.Euler using the given rotation matrix.
If the Graphene.Matrix m is null, the Graphene.Euler will
be initialized with all angles set to 0.
a rotation matrix
the order used to apply the rotations
the initialized Graphene.Euler
Initializes a Graphene.Euler using the given normalized quaternion.
If the Graphene.Quaternion q is null, the Graphene.Euler will
be initialized with all angles set to 0.
a normalized Graphene.Quaternion
the order used to apply the rotations
the initialized Graphene.Euler
Initializes a Graphene.Euler using the given angles and order of rotation.
rotation angle on the X axis, in radians
rotation angle on the Y axis, in radians
rotation angle on the Z axis, in radians
order of rotations
the initialized Graphene.Euler
Initializes a Graphene.Euler using the angles contained in a Graphene.Vec3.
If the Graphene.Vec3 v is null, the Graphene.Euler will be
initialized with all angles set to 0.
a Graphene.Vec3 containing the rotation angles in degrees
the order used to apply the rotations
the initialized Graphene.Euler
Initializes a Graphene.Euler with the given angles and order.
rotation angle on the X axis, in degrees
rotation angle on the Y axis, in degrees
rotation angle on the Z axis, in degrees
the order used to apply the rotations
the initialized Graphene.Euler
Reorders a Graphene.Euler using order.
This function is equivalent to creating a Graphene.Quaternion from the given Graphene.Euler, and then converting the quaternion into another Graphene.Euler.
the new order
Converts a Graphene.Euler into a transformation matrix expressing the extrinsic composition of rotations described by the Euler angles.
The rotations are applied over the reference frame axes in the order
associated with the Graphene.Euler; for instance, if the order
used to initialize e is Graphene.EulerOrder.XYZ:
The rotation sign convention is right-handed, to preserve compatibility between Euler-based, quaternion-based, and angle-axis-based rotations.
Converts a Graphene.Euler into a Graphene.Quaternion.
Retrieves the angles of a Graphene.Euler and initializes a Graphene.Vec3 with them.
Staticalloc
Describe a rotation using Euler angles.
The contents of the Graphene.Euler structure are private and should never be accessed directly.
Since
1.2