RotationF
Engine/source/math/mRotation.h
Rotation Interop Utility class.
Public Types
enum
RotationTypes { Euler = 0 AxisAngle }
enum
UnitFormat { Radians = 0 Degrees }
Public Attributes
Public Functions
Create an uninitialized point.
RotationF(AngAxisF aa, UnitFormat format)
RotationF(EulerF euler, UnitFormat format)
RotationF(F32 _x, F32 _y, F32 _z, UnitFormat format)
asAxisAngle(UnitFormat format)
asEulerF(UnitFormat format)
operator!=(const AngAxisF & )
operator!=(const EulerF & )
operator!=(const MatrixF & )
operator!=(const QuatF & )
operator!=(const RotationF & )
operator+=(const AngAxisF & )
operator+=(const EulerF & )
operator+=(const MatrixF & )
operator+=(const QuatF & )
operator+=(const RotationF & )
operator-=(const AngAxisF & )
operator-=(const EulerF & )
operator-=(const MatrixF & )
operator-=(const QuatF & )
operator-=(const RotationF & )
operator==(const AngAxisF & )
operator==(const EulerF & )
operator==(const MatrixF & )
operator==(const QuatF & )
operator==(const RotationF & )
set(AngAxisF aa, UnitFormat format)
set(EulerF euler, UnitFormat format)
Detailed Description
Rotation Interop Utility class.
Useful for easily handling rotations/orientations in transforms while manipulating or converting between formats.
Public Types
RotationTypes
Enumerator
- Euler = 0
- AxisAngle
UnitFormat
Enumerator
- Radians = 0
- Degrees
Public Attributes
RotationTypes mRotationType
F32 w
W co-ordinate.
F32 x
X co-ordinate.
F32 y
Y co-ordinate.
F32 z
Z co-ordinate.
Public Functions
RotationF()
Create an uninitialized point.
RotationF(AngAxisF aa, UnitFormat format)
RotationF(const RotationF & )
Copy constructor.
RotationF(EulerF euler, UnitFormat format)
RotationF(F32 _x, F32 _y, F32 _z, UnitFormat format)
RotationF(MatrixF mat)
RotationF(QuatF quat)
asAxisAngle(UnitFormat format)
asEulerF(UnitFormat format)
asMatrixF()
asQuatF()
getDirection()
interpolate(const RotationF & _pt1, const RotationF & _pt2, F32 _factor)
len()
lookAt(const Point3F & _origin, const Point3F & _target, const Point3F & _up)
normalize()
operator!=(const AngAxisF & )
operator!=(const EulerF & )
operator!=(const MatrixF & )
operator!=(const QuatF & )
operator!=(const RotationF & )
operator+(const AngAxisF & )
operator+(const EulerF & )
operator+(const MatrixF & )
operator+(const QuatF & )
operator+(const RotationF & )
operator+=(const AngAxisF & )
operator+=(const EulerF & )
operator+=(const MatrixF & )
operator+=(const QuatF & )
operator+=(const RotationF & )
operator-(const AngAxisF & )
operator-(const EulerF & )
operator-(const MatrixF & )
operator-(const QuatF & )
operator-(const RotationF & )
operator-=(const AngAxisF & )
operator-=(const EulerF & )
operator-=(const MatrixF & )
operator-=(const QuatF & )
operator-=(const RotationF & )
operator=(const AngAxisF & )
operator=(const EulerF & )
operator=(const MatrixF & )
operator=(const QuatF & )
operator=(const RotationF & )
operator==(const AngAxisF & )
operator==(const EulerF & )
operator==(const MatrixF & )
operator==(const QuatF & )
operator==(const RotationF & )
set(AngAxisF aa, UnitFormat format)
set(EulerF euler, UnitFormat format)
set(F32 _x, F32 _y, F32 _z, UnitFormat format)
set(MatrixF _mat)
set(QuatF _quat)