Structure to hold a floating point quaternion (i.e., w/x/y/z components)
More...
#include <quaternion_f.hpp>
|
| Quaternionf (float w, float x, float y, float z) |
| Create a floating point quaternion from three floating point components. More...
|
|
float | getW () const |
| Returns the W component of the quaternion. More...
|
|
float | getX () const |
| Returns the X component of the quaternion. More...
|
|
float | getY () const |
| Returns the Y component of the quaternion. More...
|
|
float | getZ () const |
| Returns the Z component of the quaternion. More...
|
|
Structure to hold a floating point quaternion (i.e., w/x/y/z components)
◆ Quaternionf()
hebi::Quaternionf::Quaternionf |
( |
float |
w, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
|
inline |
Create a floating point quaternion from three floating point components.
◆ getW()
float hebi::Quaternionf::getW |
( |
| ) |
const |
|
inline |
Returns the W component of the quaternion.
◆ getX()
float hebi::Quaternionf::getX |
( |
| ) |
const |
|
inline |
Returns the X component of the quaternion.
◆ getY()
float hebi::Quaternionf::getY |
( |
| ) |
const |
|
inline |
Returns the Y component of the quaternion.
◆ getZ()
float hebi::Quaternionf::getZ |
( |
| ) |
const |
|
inline |
Returns the Z component of the quaternion.
The documentation for this struct was generated from the following file: