All Classes |Grouped Classes |Index

Class CL_Quaterniond

Quaternion - Double. More...

Derived from:

public CL_Quaternionx< dou le >

Derived by:

None

Group:

Math (Core)

#include <ClanLib/core.h>

Class Members:

Attributes:

to_matrix

Convert the quaternion to a rotation matrix.

magnitude

Get the quaternion magnitude.


Operations:

multiply

Multiply this quaternion by a specified matrix.

set

rotate

normalize

Normalizes this quaternion.

inverse

Inverse this quaternion.

rotate_vector

Rotates vector by this quaternion.


Operators:

operator*

Multiplication operator.

CL_Quaterniond

axis_angle

lerp

Linear Quaternion Interpolation.

multiply

slerp

Spherical Quaternion Interpolation.