Bullet Collision Detection & Physics Library
|
Go to the source code of this file.
Classes | |
class | btVector3 |
btVector3 can be used to represent 3D points and vectors. More... | |
class | btVector4 |
struct | btVector3FloatData |
struct | btVector3DoubleData |
Macros | |
#define | btVector3Data btVector3FloatData |
#define | btVector3DataName "btVector3FloatData" |
Functions | |
btVector3 | operator+ (const btVector3 &v1, const btVector3 &v2) |
Return the sum of two vectors (Point symantics) More... | |
btVector3 | operator* (const btVector3 &v1, const btVector3 &v2) |
Return the elementwise product of two vectors. More... | |
btVector3 | operator- (const btVector3 &v1, const btVector3 &v2) |
Return the difference between two vectors. More... | |
btVector3 | operator- (const btVector3 &v) |
Return the negative of the vector. More... | |
btVector3 | operator* (const btVector3 &v, const btScalar &s) |
Return the vector scaled by s. More... | |
btVector3 | operator* (const btScalar &s, const btVector3 &v) |
Return the vector scaled by s. More... | |
btVector3 | operator/ (const btVector3 &v, const btScalar &s) |
Return the vector inversely scaled by s. More... | |
btVector3 | operator/ (const btVector3 &v1, const btVector3 &v2) |
Return the vector inversely scaled by s. More... | |
btScalar | btDot (const btVector3 &v1, const btVector3 &v2) |
Return the dot product between two vectors. More... | |
btScalar | btDistance2 (const btVector3 &v1, const btVector3 &v2) |
Return the distance squared between two vectors. More... | |
btScalar | btDistance (const btVector3 &v1, const btVector3 &v2) |
Return the distance between two vectors. More... | |
btScalar | btAngle (const btVector3 &v1, const btVector3 &v2) |
Return the angle between two vectors. More... | |
btVector3 | btCross (const btVector3 &v1, const btVector3 &v2) |
Return the cross product of two vectors. More... | |
btScalar | btTriple (const btVector3 &v1, const btVector3 &v2, const btVector3 &v3) |
btVector3 | lerp (const btVector3 &v1, const btVector3 &v2, const btScalar &t) |
Return the linear interpolation between two vectors. More... | |
void | btSwapScalarEndian (const btScalar &sourceVal, btScalar &destVal) |
btSwapVector3Endian swaps vector endianness, useful for network and cross-platform serialization More... | |
void | btSwapVector3Endian (const btVector3 &sourceVec, btVector3 &destVec) |
btSwapVector3Endian swaps vector endianness, useful for network and cross-platform serialization More... | |
void | btUnSwapVector3Endian (btVector3 &vector) |
btUnSwapVector3Endian swaps vector endianness, useful for network and cross-platform serialization More... | |
template<class T > | |
void | btPlaneSpace1 (const T &n, T &p, T &q) |
#define btVector3Data btVector3FloatData |
Definition at line 29 of file btVector3.h.
#define btVector3DataName "btVector3FloatData" |
Definition at line 30 of file btVector3.h.
Return the angle between two vectors.
Definition at line 926 of file btVector3.h.
Return the cross product of two vectors.
Definition at line 933 of file btVector3.h.
Return the distance between two vectors.
Definition at line 919 of file btVector3.h.
Return the distance squared between two vectors.
Definition at line 911 of file btVector3.h.
Return the dot product between two vectors.
Definition at line 903 of file btVector3.h.
|
inline |
Definition at line 1284 of file btVector3.h.
btSwapVector3Endian swaps vector endianness, useful for network and cross-platform serialization
Definition at line 1239 of file btVector3.h.
btSwapVector3Endian swaps vector endianness, useful for network and cross-platform serialization
Definition at line 1262 of file btVector3.h.
Definition at line 939 of file btVector3.h.
|
inline |
btUnSwapVector3Endian swaps vector endianness, useful for network and cross-platform serialization
Definition at line 1272 of file btVector3.h.
Return the linear interpolation between two vectors.
v1 | One vector |
v2 | The other vector |
t | The ration of this to v (t = 0 => return v1, t=1 => return v2) |
Definition at line 949 of file btVector3.h.
Return the elementwise product of two vectors.
Definition at line 783 of file btVector3.h.
Return the vector scaled by s.
Definition at line 833 of file btVector3.h.
Return the vector scaled by s.
Definition at line 849 of file btVector3.h.
Return the sum of two vectors (Point symantics)
Definition at line 767 of file btVector3.h.
Return the difference between two vectors.
Definition at line 799 of file btVector3.h.
Return the negative of the vector.
Definition at line 819 of file btVector3.h.
Return the vector inversely scaled by s.
Definition at line 856 of file btVector3.h.
Return the vector inversely scaled by s.
Definition at line 873 of file btVector3.h.