# RotationF

Engine/source/math/mRotation.h

Rotation Interop Utility class.

More...

## Public Types

enum
```RotationTypes {
Euler = 0
AxisAngle
}
```
enum
```UnitFormat {
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)
```
```AngAxisF
```
```asAxisAngle(UnitFormat format)
```
```EulerF
```
```asEulerF(UnitFormat format)
```
```MatrixF
```
```asMatrixF()
```
```QuatF
```
```asQuatF()
```
```VectorF
```
```getDirection()
```
```void
```
```interpolate(const RotationF & _pt1, const RotationF & _pt2, F32 _factor)
```
```F32
```
```len()
```
```void
```
```lookAt(const Point3F & _origin, const Point3F & _target, const Point3F & _up)
```
```void
```
```normalize()
```
```S32
```
```operator!=(const AngAxisF & )
```
```S32
```
```operator!=(const EulerF & )
```
```S32
```
```operator!=(const MatrixF & )
```
```S32
```
```operator!=(const QuatF & )
```
```S32
```
```operator!=(const RotationF & )
```
```RotationF
```
```operator+(const AngAxisF & )
```
```RotationF
```
```operator+(const EulerF & )
```
```RotationF
```
```operator+(const MatrixF & )
```
```RotationF
```
```operator+(const QuatF & )
```
```RotationF
```
```operator+(const RotationF & )
```
```RotationF &
```
```operator+=(const AngAxisF & )
```
```RotationF &
```
```operator+=(const EulerF & )
```
```RotationF &
```
```operator+=(const MatrixF & )
```
```RotationF &
```
```operator+=(const QuatF & )
```
```RotationF &
```
```operator+=(const RotationF & )
```
```RotationF
```
```operator-(const AngAxisF & )
```
```RotationF
```
```operator-(const EulerF & )
```
```RotationF
```
```operator-(const MatrixF & )
```
```RotationF
```
```operator-(const QuatF & )
```
```RotationF
```
```operator-(const RotationF & )
```
```RotationF &
```
```operator-=(const AngAxisF & )
```
```RotationF &
```
```operator-=(const EulerF & )
```
```RotationF &
```
```operator-=(const MatrixF & )
```
```RotationF &
```
```operator-=(const QuatF & )
```
```RotationF &
```
```operator-=(const RotationF & )
```
```RotationF
```
```operator=(const AngAxisF & )
```
```RotationF
```
```operator=(const EulerF & )
```
```RotationF
```
```operator=(const MatrixF & )
```
```RotationF
```
```operator=(const QuatF & )
```
```RotationF &
```
```operator=(const RotationF & )
```
```S32
```
```operator==(const AngAxisF & )
```
```S32
```
```operator==(const EulerF & )
```
```S32
```
```operator==(const MatrixF & )
```
```S32
```
```operator==(const QuatF & )
```
```S32
```
```operator==(const RotationF & )
```
```void
```
```set(AngAxisF aa, UnitFormat format)
```
```void
```
```set(EulerF euler, UnitFormat format)
```
```void
```
```set(F32 _x, F32 _y, F32 _z, UnitFormat format)
```
```void
```
```set(MatrixF _mat)
```
```void
```
```set(QuatF _quat)
```

## 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
```

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)
```