The btQuadWord class is base class for btVector3 and btQuaternion.
More...
#include <btQuadWord.h>
|
const btScalar & | getX () const |
| Return the x value. More...
|
|
const btScalar & | getY () const |
| Return the y value. More...
|
|
const btScalar & | getZ () const |
| Return the z value. More...
|
|
void | setX (btScalar _x) |
| Set the x value. More...
|
|
void | setY (btScalar _y) |
| Set the y value. More...
|
|
void | setZ (btScalar _z) |
| Set the z value. More...
|
|
void | setW (btScalar _w) |
| Set the w value. More...
|
|
const btScalar & | x () const |
| Return the x value. More...
|
|
const btScalar & | y () const |
| Return the y value. More...
|
|
const btScalar & | z () const |
| Return the z value. More...
|
|
const btScalar & | w () const |
| Return the w value. More...
|
|
| operator btScalar * () |
| operator btScalar*() replaces operator[], using implicit conversion. We added operator != and operator == to avoid pointer comparisons. More...
|
|
| operator const btScalar * () const |
|
bool | operator== (const btQuadWord &other) const |
|
bool | operator!= (const btQuadWord &other) const |
|
void | setValue (const btScalar &_x, const btScalar &_y, const btScalar &_z) |
| Set x,y,z and zero w. More...
|
|
void | setValue (const btScalar &_x, const btScalar &_y, const btScalar &_z, const btScalar &_w) |
| Set the values. More...
|
|
| btQuadWord () |
| No initialization constructor. More...
|
|
| btQuadWord (const btScalar &_x, const btScalar &_y, const btScalar &_z) |
| Three argument constructor (zeros w) More...
|
|
| btQuadWord (const btScalar &_x, const btScalar &_y, const btScalar &_z, const btScalar &_w) |
| Initializing constructor. More...
|
|
void | setMax (const btQuadWord &other) |
| Set each element to the max of the current values and the values of another btQuadWord. More...
|
|
void | setMin (const btQuadWord &other) |
| Set each element to the min of the current values and the values of another btQuadWord. More...
|
|
The btQuadWord class is base class for btVector3 and btQuaternion.
Some issues under PS3 Linux with IBM 2.1 SDK, gcc compiler prevent from using aligned quadword.
Definition at line 29 of file btQuadWord.h.
◆ btQuadWord() [1/3]
btQuadWord::btQuadWord |
( |
| ) |
|
|
inline |
No initialization constructor.
Definition at line 178 of file btQuadWord.h.
◆ btQuadWord() [2/3]
Three argument constructor (zeros w)
- Parameters
-
x | Value of x |
y | Value of y |
z | Value of z |
Definition at line 188 of file btQuadWord.h.
◆ btQuadWord() [3/3]
Initializing constructor.
- Parameters
-
x | Value of x |
y | Value of y |
z | Value of z |
w | Value of w |
Definition at line 199 of file btQuadWord.h.
◆ getX()
const btScalar & btQuadWord::getX |
( |
| ) |
const |
|
inline |
◆ getY()
const btScalar & btQuadWord::getY |
( |
| ) |
const |
|
inline |
◆ getZ()
const btScalar & btQuadWord::getZ |
( |
| ) |
const |
|
inline |
◆ operator btScalar *()
operator btScalar*() replaces operator[], using implicit conversion. We added operator != and operator == to avoid pointer comparisons.
Definition at line 124 of file btQuadWord.h.
◆ operator const btScalar *()
btQuadWord::operator const btScalar * |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool btQuadWord::operator!= |
( |
const btQuadWord & |
other | ) |
const |
|
inline |
◆ operator==()
bool btQuadWord::operator== |
( |
const btQuadWord & |
other | ) |
const |
|
inline |
◆ setMax()
void btQuadWord::setMax |
( |
const btQuadWord & |
other | ) |
|
|
inline |
Set each element to the max of the current values and the values of another btQuadWord.
- Parameters
-
Definition at line 207 of file btQuadWord.h.
◆ setMin()
void btQuadWord::setMin |
( |
const btQuadWord & |
other | ) |
|
|
inline |
Set each element to the min of the current values and the values of another btQuadWord.
- Parameters
-
Definition at line 223 of file btQuadWord.h.
◆ setValue() [1/2]
Set x,y,z and zero w.
- Parameters
-
x | Value of x |
y | Value of y |
z | Value of z |
Definition at line 149 of file btQuadWord.h.
◆ setValue() [2/2]
Set the values.
- Parameters
-
x | Value of x |
y | Value of y |
z | Value of z |
w | Value of w |
Definition at line 170 of file btQuadWord.h.
◆ setW()
◆ setX()
◆ setY()
◆ setZ()
◆ w()
const btScalar & btQuadWord::w |
( |
| ) |
const |
|
inline |
◆ x()
const btScalar & btQuadWord::x |
( |
| ) |
const |
|
inline |
◆ y()
const btScalar & btQuadWord::y |
( |
| ) |
const |
|
inline |
◆ z()
const btScalar & btQuadWord::z |
( |
| ) |
const |
|
inline |
◆ m_floats
The documentation for this class was generated from the following file: