The btQuadWord class is base class for btVector3 and btQuaternion. More...
#include <btQuadWord.h>

Public Member Functions | |
| SIMD_FORCE_INLINE const btScalar & | getX () const |
| Return the x value. | |
| SIMD_FORCE_INLINE const btScalar & | getY () const |
| Return the y value. | |
| SIMD_FORCE_INLINE const btScalar & | getZ () const |
| Return the z value. | |
| SIMD_FORCE_INLINE void | setX (btScalar x) |
| Set the x value. | |
| SIMD_FORCE_INLINE void | setY (btScalar y) |
| Set the y value. | |
| SIMD_FORCE_INLINE void | setZ (btScalar z) |
| Set the z value. | |
| SIMD_FORCE_INLINE void | setW (btScalar w) |
| Set the w value. | |
| SIMD_FORCE_INLINE const btScalar & | x () const |
| Return the x value. | |
| SIMD_FORCE_INLINE const btScalar & | y () const |
| Return the y value. | |
| SIMD_FORCE_INLINE const btScalar & | z () const |
| Return the z value. | |
| SIMD_FORCE_INLINE const btScalar & | w () const |
| Return the w value. | |
| SIMD_FORCE_INLINE | operator btScalar * () |
| operator btScalar*() replaces operator[], using implicit conversion. We added operator != and operator == to avoid pointer comparisons. | |
| SIMD_FORCE_INLINE | operator const btScalar * () const |
| SIMD_FORCE_INLINE bool | operator== (const btQuadWord &other) const |
| SIMD_FORCE_INLINE bool | operator!= (const btQuadWord &other) const |
| SIMD_FORCE_INLINE void | setValue (const btScalar &x, const btScalar &y, const btScalar &z) |
| Set x,y,z and zero w. | |
| SIMD_FORCE_INLINE void | setValue (const btScalar &x, const btScalar &y, const btScalar &z, const btScalar &w) |
| Set the values. | |
| SIMD_FORCE_INLINE | btQuadWord () |
| No initialization constructor. | |
| SIMD_FORCE_INLINE | btQuadWord (const btScalar &x, const btScalar &y, const btScalar &z) |
| Three argument constructor (zeros w). | |
| SIMD_FORCE_INLINE | btQuadWord (const btScalar &x, const btScalar &y, const btScalar &z, const btScalar &w) |
| Initializing constructor. | |
| SIMD_FORCE_INLINE void | setMax (const btQuadWord &other) |
| Set each element to the max of the current values and the values of another btQuadWord. | |
| SIMD_FORCE_INLINE void | setMin (const btQuadWord &other) |
| Set each element to the min of the current values and the values of another btQuadWord. | |
Protected Attributes | |
| btScalar | m_floats [4] |
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 31 of file btQuadWord.h.
| SIMD_FORCE_INLINE btQuadWord::btQuadWord | ( | ) | [inline] |
No initialization constructor.
Definition at line 129 of file btQuadWord.h.
| SIMD_FORCE_INLINE btQuadWord::btQuadWord | ( | const btScalar & | x, | |
| const btScalar & | y, | |||
| const btScalar & | z | |||
| ) | [inline] |
Three argument constructor (zeros w).
| x | Value of x | |
| y | Value of y | |
| z | Value of z |
Definition at line 139 of file btQuadWord.h.
| SIMD_FORCE_INLINE btQuadWord::btQuadWord | ( | const btScalar & | x, | |
| const btScalar & | y, | |||
| const btScalar & | z, | |||
| const btScalar & | w | |||
| ) | [inline] |
Initializing constructor.
| x | Value of x | |
| y | Value of y | |
| z | Value of z | |
| w | Value of w |
Definition at line 150 of file btQuadWord.h.
| SIMD_FORCE_INLINE const btScalar& btQuadWord::getX | ( | ) | const [inline] |
Return the x value.
Definition at line 57 of file btQuadWord.h.
| SIMD_FORCE_INLINE const btScalar& btQuadWord::getY | ( | ) | const [inline] |
Return the y value.
Definition at line 59 of file btQuadWord.h.
| SIMD_FORCE_INLINE const btScalar& btQuadWord::getZ | ( | ) | const [inline] |
Return the z value.
Definition at line 61 of file btQuadWord.h.
| SIMD_FORCE_INLINE btQuadWord::operator btScalar * | ( | ) | [inline] |
operator btScalar*() replaces operator[], using implicit conversion. We added operator != and operator == to avoid pointer comparisons.
Definition at line 82 of file btQuadWord.h.
| SIMD_FORCE_INLINE btQuadWord::operator const btScalar * | ( | ) | const [inline] |
Definition at line 83 of file btQuadWord.h.
| SIMD_FORCE_INLINE bool btQuadWord::operator!= | ( | const btQuadWord & | other | ) | const [inline] |
Definition at line 90 of file btQuadWord.h.
| SIMD_FORCE_INLINE bool btQuadWord::operator== | ( | const btQuadWord & | other | ) | const [inline] |
Definition at line 85 of file btQuadWord.h.
| SIMD_FORCE_INLINE void btQuadWord::setMax | ( | const btQuadWord & | other | ) | [inline] |
Set each element to the max of the current values and the values of another btQuadWord.
| other | The other btQuadWord to compare with |
Definition at line 158 of file btQuadWord.h.
| SIMD_FORCE_INLINE void btQuadWord::setMin | ( | const btQuadWord & | other | ) | [inline] |
Set each element to the min of the current values and the values of another btQuadWord.
| other | The other btQuadWord to compare with |
Definition at line 168 of file btQuadWord.h.
| SIMD_FORCE_INLINE void btQuadWord::setValue | ( | const btScalar & | x, | |
| const btScalar & | y, | |||
| const btScalar & | z, | |||
| const btScalar & | w | |||
| ) | [inline] |
Set the values.
| x | Value of x | |
| y | Value of y | |
| z | Value of z | |
| w | Value of w |
Definition at line 121 of file btQuadWord.h.
| SIMD_FORCE_INLINE void btQuadWord::setValue | ( | const btScalar & | x, | |
| const btScalar & | y, | |||
| const btScalar & | z | |||
| ) | [inline] |
Set x,y,z and zero w.
| x | Value of x | |
| y | Value of y | |
| z | Value of z |
Definition at line 100 of file btQuadWord.h.
| SIMD_FORCE_INLINE void btQuadWord::setW | ( | btScalar | w | ) | [inline] |
Set the w value.
Definition at line 69 of file btQuadWord.h.
| SIMD_FORCE_INLINE void btQuadWord::setX | ( | btScalar | x | ) | [inline] |
Set the x value.
Definition at line 63 of file btQuadWord.h.
| SIMD_FORCE_INLINE void btQuadWord::setY | ( | btScalar | y | ) | [inline] |
Set the y value.
Definition at line 65 of file btQuadWord.h.
| SIMD_FORCE_INLINE void btQuadWord::setZ | ( | btScalar | z | ) | [inline] |
Set the z value.
Definition at line 67 of file btQuadWord.h.
| SIMD_FORCE_INLINE const btScalar& btQuadWord::w | ( | ) | const [inline] |
Return the w value.
Definition at line 77 of file btQuadWord.h.
| SIMD_FORCE_INLINE const btScalar& btQuadWord::x | ( | ) | const [inline] |
Return the x value.
Definition at line 71 of file btQuadWord.h.
| SIMD_FORCE_INLINE const btScalar& btQuadWord::y | ( | ) | const [inline] |
Return the y value.
Definition at line 73 of file btQuadWord.h.
| SIMD_FORCE_INLINE const btScalar& btQuadWord::z | ( | ) | const [inline] |
Return the z value.
Definition at line 75 of file btQuadWord.h.
btScalar btQuadWord::m_floats[4] [protected] |
Definition at line 50 of file btQuadWord.h.
1.6.1