graphene.euler

Module for [Euler] class

class Euler

Types 1

Describe a rotation using Euler angles.

The contents of the #graphene_euler_t structure are private and should never be accessed directly.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
Euler self()Returns `this`, for use in `with` statements.
graphene.euler.Euler alloc()Allocates a new #grapheneeulert.
bool equal(graphene.euler.Euler b)Checks if two #grapheneeulert are equal.
float getAlpha()Retrieves the first component of the Euler angle vector, depending on the order of rotation.
float getBeta()Retrieves the second component of the Euler angle vector, depending on the order of rotation.
float getGamma()Retrieves the third component of the Euler angle vector, depending on the order of rotation.
graphene.types.EulerOrder getOrder()Retrieves the order used to apply the rotations described in the #grapheneeulert structure, when converting to and from other structures, like #graphenequaterniont and #graphenematrixt.
float getX()Retrieves the rotation angle on the X axis, in degrees. Returns: the rotation angle
float getY()Retrieves the rotation angle on the Y axis, in degrees. Returns: the rotation angle
float getZ()Retrieves the rotation angle on the Z axis, in degrees. Returns: the rotation angle
graphene.euler.Euler init_(float x, float y, float z)Initializes a #grapheneeulert using the given angles.
graphene.euler.Euler initFromEuler(graphene.euler.Euler src = null)Initializes a #grapheneeulert using the angles and order of another #grapheneeulert.
graphene.euler.Euler initFromMatrix(graphene.matrix.Matrix m, graphene.types.EulerOrder order)Initializes a #grapheneeulert using the given rotation matrix.
graphene.euler.Euler initFromQuaternion(graphene.quaternion.Quaternion q, graphene.types.EulerOrder order)Initializes a #grapheneeulert using the given normalized quaternion.
graphene.euler.Euler initFromRadians(float x, float y, float z, graphene.types.EulerOrder order)Initializes a #grapheneeulert using the given angles and order of rotation.
graphene.euler.Euler initFromVec3(graphene.vec3.Vec3 v, graphene.types.EulerOrder order)Initializes a #grapheneeulert using the angles contained in a #graphenevec3t.
graphene.euler.Euler initWithOrder(float x, float y, float z, graphene.types.EulerOrder order)Initializes a #grapheneeulert with the given angles and order.
void reorder(graphene.types.EulerOrder order, out graphene.euler.Euler res)Reorders a #grapheneeulert using order.
void toMatrix(out graphene.matrix.Matrix res)Converts a #grapheneeulert into a transformation matrix expressing the extrinsic composition of rotations described by the Euler angles.
void toQuaternion(out graphene.quaternion.Quaternion res)Converts a #grapheneeulert into a #graphenequaterniont.
void toVec3(out graphene.vec3.Vec3 res)Retrieves the angles of a #grapheneeulert and initializes a #graphenevec3t with them.
Constructors
this()Create a `euler.Euler` boxed type.
this(void * ptr, Flag!"Take" take)