Since 1.0Optionalproperties: Partial<{}>Since 1.10addSince 1.0dotComputes the dot product of two Graphene.Quaternion.
the value of the dot products
Since 1.0equalChecks whether the given quaternions are equal.
true if the quaternions are equal
Since 1.0freeSince 1.0initInitializes a Graphene.Quaternion using the given four values.
the first component of the quaternion
the second component of the quaternion
the third component of the quaternion
the fourth component of the quaternion
the initialized quaternion
Since 1.0init_Initializes a Graphene.Quaternion using an angle on a
specific axis.
the rotation on a given axis, in degrees
the axis of rotation, expressed as a vector
the initialized quaternion
Since 1.0init_Initializes a Graphene.Quaternion using the values of the Euler angles on each axis.
See also: graphene_quaternion_init_from_euler()
rotation angle on the X axis (yaw), in degrees
rotation angle on the Y axis (pitch), in degrees
rotation angle on the Z axis (roll), in degrees
the initialized quaternion
Since 1.2init_Initializes a Graphene.Quaternion using the given Graphene.Euler.
the initialized Graphene.Quaternion
Since 1.0init_Initializes a Graphene.Quaternion using the rotation components of a transformation matrix.
the initialized quaternion
Since 1.0init_Initializes a Graphene.Quaternion with the values from src.
the initialized quaternion
Since 1.0init_Initializes a Graphene.Quaternion using the values of the Euler angles on each axis.
See also: graphene_quaternion_init_from_euler()
rotation angle on the X axis (yaw), in radians
rotation angle on the Y axis (pitch), in radians
rotation angle on the Z axis (roll), in radians
the initialized quaternion
Since 1.0init_Initializes a Graphene.Quaternion with the values from src.
the initialized quaternion
Since 1.0init_Initializes a Graphene.Quaternion using the identity transformation.
the initialized quaternion
Since 1.0invertInverts a Graphene.Quaternion, and returns the conjugate
quaternion of q.
Since 1.10multiplySince 1.0normalizeSince 1.10scaleScales all the elements of a Graphene.Quaternion q using
the given scalar factor.
a scaling factor
Since 1.0slerpInterpolates between the two given quaternions using a spherical
linear interpolation, or SLERP,
using the given interpolation factor.
the linear interpolation factor
Since 1.0to_Since 1.2to_Converts a Graphene.Quaternion to its corresponding rotations on the Euler angles on each axis.
Since 1.0to_Converts a quaternion into a transformation matrix expressing the rotation defined by the Graphene.Quaternion.
Since 1.2to_Converts a Graphene.Quaternion to its corresponding rotations on the Euler angles on each axis.
Since 1.0to_Staticalloc
A quaternion.
The contents of the Graphene.Quaternion structure are private and should never be accessed directly.
Since
1.0