The QuadWord class is base class for Vector3 and Quaternion. Some issues under PS3 Linux with IBM 2.1 SDK, gcc compiler prevent from using aligned quadword.
More...
#include <QuadWord.hpp>
|
| const tf2Scalar & | getX () const |
| | Return the x value.
|
| const tf2Scalar & | getY () const |
| | Return the y value.
|
| const tf2Scalar & | getZ () const |
| | Return the z value.
|
| void | setX (tf2Scalar x) |
| | Set the x value.
|
| void | setY (tf2Scalar y) |
| | Set the y value.
|
| void | setZ (tf2Scalar z) |
| | Set the z value.
|
| void | setW (tf2Scalar w) |
| | Set the w value.
|
| const tf2Scalar & | x () const |
| | Return the x value.
|
| const tf2Scalar & | y () const |
| | Return the y value.
|
| const tf2Scalar & | z () const |
| | Return the z value.
|
| const tf2Scalar & | w () const |
| | Return the w value.
|
| | operator tf2Scalar * () |
| | operator tf2Scalar*() replaces operator[], using implicit conversion. We added operator != and operator == to avoid pointer comparisons.
|
| | operator const tf2Scalar * () const |
| bool | operator== (const QuadWord &other) const |
| bool | operator!= (const QuadWord &other) const |
| void | setValue (const tf2Scalar &x, const tf2Scalar &y, const tf2Scalar &z) |
| | Set x,y,z and zero w.
|
| void | setValue (const tf2Scalar &x, const tf2Scalar &y, const tf2Scalar &z, const tf2Scalar &w) |
| | Set the values.
|
| | QuadWord () |
| | No initialization constructor.
|
| | QuadWord (const tf2Scalar &x, const tf2Scalar &y, const tf2Scalar &z) |
| | Three argument constructor (zeros w).
|
| | QuadWord (const tf2Scalar &x, const tf2Scalar &y, const tf2Scalar &z, const tf2Scalar &w) |
| | Initializing constructor.
|
| void | setMax (const QuadWord &other) |
| | Set each element to the max of the current values and the values of another QuadWord.
|
| void | setMin (const QuadWord &other) |
| | Set each element to the min of the current values and the values of another QuadWord.
|
The QuadWord class is base class for Vector3 and Quaternion. Some issues under PS3 Linux with IBM 2.1 SDK, gcc compiler prevent from using aligned quadword.
◆ QuadWord() [1/3]
| tf2::QuadWord::QuadWord |
( |
| ) |
|
|
inline |
No initialization constructor.
◆ QuadWord() [2/3]
Three argument constructor (zeros w).
- Parameters
-
| x | Value of x |
| y | Value of y |
| z | Value of z |
◆ QuadWord() [3/3]
Initializing constructor.
- Parameters
-
| x | Value of x |
| y | Value of y |
| z | Value of z |
| w | Value of w |
◆ getX()
| const tf2Scalar & tf2::QuadWord::getX |
( |
| ) |
const |
|
inline |
◆ getY()
| const tf2Scalar & tf2::QuadWord::getY |
( |
| ) |
const |
|
inline |
◆ getZ()
| const tf2Scalar & tf2::QuadWord::getZ |
( |
| ) |
const |
|
inline |
◆ setX()
◆ setY()
◆ setZ()
◆ setW()
◆ x()
◆ y()
◆ z()
◆ w()
◆ operator tf2Scalar *()
operator tf2Scalar*() replaces operator[], using implicit conversion. We added operator != and operator == to avoid pointer comparisons.
◆ operator const tf2Scalar *()
| tf2::QuadWord::operator const tf2Scalar * |
( |
| ) |
const |
|
inline |
◆ operator==()
| bool tf2::QuadWord::operator== |
( |
const QuadWord & | other | ) |
const |
|
inline |
◆ operator!=()
| bool tf2::QuadWord::operator!= |
( |
const QuadWord & | other | ) |
const |
|
inline |
◆ setValue() [1/2]
Set x,y,z and zero w.
- Parameters
-
| x | Value of x |
| y | Value of y |
| z | Value of z |
◆ setValue() [2/2]
Set the values.
- Parameters
-
| x | Value of x |
| y | Value of y |
| z | Value of z |
| w | Value of w |
◆ setMax()
| void tf2::QuadWord::setMax |
( |
const QuadWord & | other | ) |
|
|
inline |
Set each element to the max of the current values and the values of another QuadWord.
- Parameters
-
◆ setMin()
| void tf2::QuadWord::setMin |
( |
const QuadWord & | other | ) |
|
|
inline |
Set each element to the min of the current values and the values of another QuadWord.
- Parameters
-
◆ m_floats
The documentation for this class was generated from the following file: