#include <hps.h>
|
| Quaternion () |
|
| Quaternion (float in_w, float in_x, float in_y, float in_z) |
|
| Quaternion (Quaternion const &that) |
|
Quaternion const & | Normalize () |
|
Quaternion | operator* (Quaternion const &in_right) const |
|
Quaternion | operator* (float in_right) const |
|
Quaternion | operator/ (float in_right) const |
|
Quaternion | operator- (Quaternion const &in_right) const |
|
Quaternion | operator+ (Quaternion const &in_right) const |
|
float | Norm () const |
|
Quaternion | Log () const |
|
Quaternion | Exp () const |
|
Quaternion | Lerp (Quaternion const &in_right, float in_fraction) const |
|
Quaternion | Slerp (Quaternion const &in_right, float in_fraction, bool in_shortest_path_only=true) const |
|
Quaternion | Squad (Quaternion const &in_right, Quaternion const &in_control1, Quaternion const &in_control2, float in_fraction) const |
|
Quaternion | Spline (Quaternion const &in_previous, Quaternion const &in_next) const |
| Calculate a control point to be used in spline interpolation. More...
|
|
|
float | w |
|
float | x |
|
float | y |
|
float | z |
|
◆ Quaternion() [1/3]
HPS::Quaternion::Quaternion |
( |
| ) |
|
|
inline |
◆ Quaternion() [2/3]
HPS::Quaternion::Quaternion |
( |
float |
in_w, |
|
|
float |
in_x, |
|
|
float |
in_y, |
|
|
float |
in_z |
|
) |
| |
|
inline |
◆ Quaternion() [3/3]
HPS::Quaternion::Quaternion |
( |
Quaternion const & |
that | ) |
|
|
inline |
◆ Exp()
◆ Lerp()
◆ Log()
◆ Norm()
float HPS::Quaternion::Norm |
( |
| ) |
const |
|
inline |
◆ Normalize()
◆ operator*() [1/2]
◆ operator*() [2/2]
Quaternion HPS::Quaternion::operator* |
( |
float |
in_right | ) |
const |
|
inline |
◆ operator+()
◆ operator-()
◆ operator/()
Quaternion HPS::Quaternion::operator/ |
( |
float |
in_right | ) |
const |
|
inline |
◆ Slerp()
Quaternion HPS::Quaternion::Slerp |
( |
Quaternion const & |
in_right, |
|
|
float |
in_fraction, |
|
|
bool |
in_shortest_path_only = true |
|
) |
| const |
|
inline |
◆ Spline()
Calculate a control point to be used in spline interpolation.
- Parameters
-
in_previous | The control point before this |
in_next | The control point after this |
- Returns
- Resultant spline control point
◆ Squad()
◆ operator*
The documentation for this class was generated from the following file: