Bullet Collision Detection & Physics Library
|
The btQuadWord class is base class for btVector3 and btQuaternion. More...
#include <btQuadWord.h>
Public Member Functions | |
const btScalar & | getX () const |
Return the x value. | |
const btScalar & | getY () const |
Return the y value. | |
const btScalar & | getZ () const |
Return the z value. | |
void | setX (btScalar _x) |
Set the x value. | |
void | setY (btScalar _y) |
Set the y value. | |
void | setZ (btScalar _z) |
Set the z value. | |
void | setW (btScalar _w) |
Set the w value. | |
const btScalar & | x () const |
Return the x value. | |
const btScalar & | y () const |
Return the y value. | |
const btScalar & | z () const |
Return the z value. | |
const btScalar & | w () const |
Return the w value. | |
operator btScalar * () | |
operator btScalar*() replaces operator[], using implicit conversion. We added operator != and operator == to avoid pointer comparisons. | |
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. | |
void | setValue (const btScalar &_x, const btScalar &_y, const btScalar &_z, const btScalar &_w) |
Set the values. | |
btQuadWord () | |
No initialization constructor. | |
btQuadWord (const btScalar &_x, const btScalar &_y, const btScalar &_z) | |
Three argument constructor (zeros w) | |
btQuadWord (const btScalar &_x, const btScalar &_y, const btScalar &_z, const btScalar &_w) | |
Initializing constructor. | |
void | setMax (const btQuadWord &other) |
Set each element to the max of the current values and the values of another btQuadWord. | |
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 29 of file btQuadWord.h.
|
inline |
No initialization constructor.
Definition at line 178 of file btQuadWord.h.
Three argument constructor (zeros w)
x | Value of x |
y | Value of y |
z | Value of z |
Definition at line 188 of file btQuadWord.h.
|
inline |
Initializing constructor.
x | Value of x |
y | Value of y |
z | Value of z |
w | Value of w |
Definition at line 199 of file btQuadWord.h.
Return the x value.
Definition at line 99 of file btQuadWord.h.
Return the y value.
Definition at line 101 of file btQuadWord.h.
Return the z value.
Definition at line 103 of file btQuadWord.h.
|
inline |
operator btScalar*() replaces operator[], using implicit conversion. We added operator != and operator == to avoid pointer comparisons.
Definition at line 124 of file btQuadWord.h.
Definition at line 125 of file btQuadWord.h.
|
inline |
Definition at line 139 of file btQuadWord.h.
|
inline |
Definition at line 127 of file btQuadWord.h.
|
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 207 of file btQuadWord.h.
|
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 223 of file btQuadWord.h.
Set x,y,z and zero w.
x | Value of x |
y | Value of y |
z | Value of z |
Definition at line 149 of file btQuadWord.h.
|
inline |
Set the values.
x | Value of x |
y | Value of y |
z | Value of z |
w | Value of w |
Definition at line 170 of file btQuadWord.h.
Set the w value.
Definition at line 111 of file btQuadWord.h.
Set the x value.
Definition at line 105 of file btQuadWord.h.
Set the y value.
Definition at line 107 of file btQuadWord.h.
Set the z value.
Definition at line 109 of file btQuadWord.h.
Return the w value.
Definition at line 119 of file btQuadWord.h.
Return the x value.
Definition at line 113 of file btQuadWord.h.
Return the y value.
Definition at line 115 of file btQuadWord.h.
Return the z value.
Definition at line 117 of file btQuadWord.h.
|
protected |
Definition at line 67 of file btQuadWord.h.