Since 1.0Optionalproperties: Partial<{}>Computes the dot product of two Graphene.Quaternion.
the value of the dot products
Checks whether the given quaternions are equal.
true if the quaternions are equal
Releases the resources allocated by graphene_quaternion_alloc().
Initializes 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
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
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
Initializes a Graphene.Quaternion using the given Graphene.Euler.
the initialized Graphene.Quaternion
Initializes a Graphene.Quaternion using the rotation components of a transformation matrix.
the initialized quaternion
Initializes a Graphene.Quaternion with the values from src.
the initialized quaternion
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
Initializes a Graphene.Quaternion with the values from src.
the initialized quaternion
Initializes a Graphene.Quaternion using the identity transformation.
the initialized quaternion
Inverts a Graphene.Quaternion, and returns the conjugate
quaternion of q.
Normalizes a Graphene.Quaternion.
Scales all the elements of a Graphene.Quaternion q using
the given scalar factor.
a scaling factor
Interpolates between the two given quaternions using a spherical
linear interpolation, or SLERP,
using the given interpolation factor.
the linear interpolation factor
Converts a quaternion into an angle, axis pair.
Converts a Graphene.Quaternion to its corresponding rotations on the Euler angles on each axis.
Converts a quaternion into a transformation matrix expressing the rotation defined by the Graphene.Quaternion.
Converts a Graphene.Quaternion to its corresponding rotations on the Euler angles on each axis.
Copies the components of a Graphene.Quaternion into a Graphene.Vec4.
Staticalloc
A quaternion.
The contents of the Graphene.Quaternion structure are private and should never be accessed directly.
Since
1.0