A helper structure used to convert from float or double pointers to Quaternionf arguments.
More...
#include <3esquaternionarg.h>
A helper structure used to convert from float or double pointers to Quaternionf arguments.
◆ QuaternionArg() [1/5]
| tes::QuaternionArg::QuaternionArg |
( |
const float |
q[4] | ) |
|
|
inline |
Single precision pointer constructor.
- Parameters
-
◆ QuaternionArg() [2/5]
| tes::QuaternionArg::QuaternionArg |
( |
const double |
q[4] | ) |
|
|
inline |
Double precision pointer constructor.
- Parameters
-
◆ QuaternionArg() [3/5]
| tes::QuaternionArg::QuaternionArg |
( |
const Quaternionf & |
q | ) |
|
|
inline |
Single precision quaternion constructor.
- Parameters
-
◆ QuaternionArg() [4/5]
| tes::QuaternionArg::QuaternionArg |
( |
const Quaterniond & |
q | ) |
|
|
inline |
Double precision quaternion constructor.
- Parameters
-
◆ QuaternionArg() [5/5]
| tes::QuaternionArg::QuaternionArg |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z, |
|
|
float |
w |
|
) |
| |
|
inline |
Component wise constructor.
- Parameters
-
| x | X value. |
| y | Y value. |
| z | Z value. |
| w | W value. |
◆ operator Quaternionf()
Convert to Quaternionf.
- Returns
- The single precision quaternion.
References q.
◆ operator[]()
| float tes::QuaternionArg::operator[] |
( |
int |
i | ) |
const |
|
inline |
Indexing operator.
- Parameters
-
| i | The element index [0, 3]. |
- Returns
- The requested element
References q.
The documentation for this struct was generated from the following file: