fastest 3D software for linux

Linux 3D
interactive ray-tracing
[1 introduction] [2 overview] [3 reference] [4 GUI]

Index

 E3dQuaternion_ToAxisAngle
 E3d_AxisAngleToQuaternion

E3dQuaternion_ToAxisAngle

Convert a quaternion to an axis-angle rotation

Syntax
void E3dQuaternion_ToAxisAngle(const E3dCoord4* PQuaternion, E3dCoord4* PAxisAngle)

Arguments
PQuaternion The destination Matrix PAxisAngle The axis-angle rotation as a Coord4
Description
Converts an axis-angle rotation to a Quaterion.
With the angle of rotation Angle, the Quaternion is of the following form:
   X, Y, Z:  coordinates of the axis of rotation
   W:        Angle as degrees


Return value
None.

See also
E3dQuaternion_ToAxisAngle

E3d_AxisAngleToQuaternion

Convert an axis-angle rotation to a rotation Matrix

Syntax
void E3d_AxisAngleToQuaternion(const E3dCoord4* PAxisAngle, E3dCoord4* PQuaternion)

Arguments
PAxisAngle The axis-angle rotation as a Coord4 PQuaternion The destination Matrix
Description
Converts an axis-angle rotation to a Quaterion.
With the angle of rotation Angle, the Quaternion is of the following form:
   X, Y, Z:  coordinates of the axis of rotation
   W:        Angle as degrees


Return value
None.

See also
E3dQuaternion_ToAxisAngle
© 1996-2025 By Gabor Nagy