|
| 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.