#include "btTransform.h"
#include "btVector3.h"
#include "btMinMax.h"
Go to the source code of this file.
Defines | |
#define | USE_BANCHLESS 1 |
Functions | |
SIMD_FORCE_INLINE void | AabbExpand (btVector3 &aabbMin, btVector3 &aabbMax, const btVector3 &expansionMin, const btVector3 &expansionMax) |
SIMD_FORCE_INLINE int | btOutcode (const btVector3 &p, const btVector3 &halfExtent) |
SIMD_FORCE_INLINE bool | btRayAabb (const btVector3 &rayFrom, const btVector3 &rayTo, const btVector3 &aabbMin, const btVector3 &aabbMax, btScalar ¶m, btVector3 &normal) |
SIMD_FORCE_INLINE bool | btRayAabb2 (const btVector3 &rayFrom, const btVector3 &rayInvDirection, const unsigned int raySign[3], const btVector3 bounds[2], btScalar &tmin, btScalar lambda_min, btScalar lambda_max) |
SIMD_FORCE_INLINE void | btTransformAabb (const btVector3 &localAabbMin, const btVector3 &localAabbMax, btScalar margin, const btTransform &trans, btVector3 &aabbMinOut, btVector3 &aabbMaxOut) |
SIMD_FORCE_INLINE void | btTransformAabb (const btVector3 &halfExtents, btScalar margin, const btTransform &t, btVector3 &aabbMinOut, btVector3 &aabbMaxOut) |
SIMD_FORCE_INLINE bool | TestAabbAgainstAabb2 (const btVector3 &aabbMin1, const btVector3 &aabbMax1, const btVector3 &aabbMin2, const btVector3 &aabbMax2) |
conservative test for overlap between two aabbs | |
SIMD_FORCE_INLINE bool | TestPointAgainstAabb2 (const btVector3 &aabbMin1, const btVector3 &aabbMax1, const btVector3 &point) |
conservative test for overlap between two aabbs | |
SIMD_FORCE_INLINE bool | testQuantizedAabbAgainstQuantizedAabb (const unsigned short int *aabbMin1, const unsigned short int *aabbMax1, const unsigned short int *aabbMin2, const unsigned short int *aabbMax2) |
SIMD_FORCE_INLINE bool | TestTriangleAgainstAabb2 (const btVector3 *vertices, const btVector3 &aabbMin, const btVector3 &aabbMax) |
conservative test for overlap between triangle and aabb |
#define USE_BANCHLESS 1 |
Definition at line 213 of file btAabbUtil2.h.
SIMD_FORCE_INLINE void AabbExpand | ( | btVector3 & | aabbMin, | |
btVector3 & | aabbMax, | |||
const btVector3 & | expansionMin, | |||
const btVector3 & | expansionMax | |||
) |
Definition at line 26 of file btAabbUtil2.h.
SIMD_FORCE_INLINE int btOutcode | ( | const btVector3 & | p, | |
const btVector3 & | halfExtent | |||
) |
Definition at line 78 of file btAabbUtil2.h.
SIMD_FORCE_INLINE bool btRayAabb | ( | const btVector3 & | rayFrom, | |
const btVector3 & | rayTo, | |||
const btVector3 & | aabbMin, | |||
const btVector3 & | aabbMax, | |||
btScalar & | param, | |||
btVector3 & | normal | |||
) |
Definition at line 125 of file btAabbUtil2.h.
SIMD_FORCE_INLINE bool btRayAabb2 | ( | const btVector3 & | rayFrom, | |
const btVector3 & | rayInvDirection, | |||
const unsigned int | raySign[3], | |||
const btVector3 | bounds[2], | |||
btScalar & | tmin, | |||
btScalar | lambda_min, | |||
btScalar | lambda_max | |||
) |
Definition at line 90 of file btAabbUtil2.h.
SIMD_FORCE_INLINE void btTransformAabb | ( | const btVector3 & | localAabbMin, | |
const btVector3 & | localAabbMax, | |||
btScalar | margin, | |||
const btTransform & | trans, | |||
btVector3 & | aabbMinOut, | |||
btVector3 & | aabbMaxOut | |||
) |
Definition at line 195 of file btAabbUtil2.h.
SIMD_FORCE_INLINE void btTransformAabb | ( | const btVector3 & | halfExtents, | |
btScalar | margin, | |||
const btTransform & | t, | |||
btVector3 & | aabbMinOut, | |||
btVector3 & | aabbMaxOut | |||
) |
Definition at line 182 of file btAabbUtil2.h.
SIMD_FORCE_INLINE bool TestAabbAgainstAabb2 | ( | const btVector3 & | aabbMin1, | |
const btVector3 & | aabbMax1, | |||
const btVector3 & | aabbMin2, | |||
const btVector3 & | aabbMax2 | |||
) |
conservative test for overlap between two aabbs
Definition at line 48 of file btAabbUtil2.h.
SIMD_FORCE_INLINE bool TestPointAgainstAabb2 | ( | const btVector3 & | aabbMin1, | |
const btVector3 & | aabbMax1, | |||
const btVector3 & | point | |||
) |
conservative test for overlap between two aabbs
Definition at line 36 of file btAabbUtil2.h.
SIMD_FORCE_INLINE bool testQuantizedAabbAgainstQuantizedAabb | ( | const unsigned short int * | aabbMin1, | |
const unsigned short int * | aabbMax1, | |||
const unsigned short int * | aabbMin2, | |||
const unsigned short int * | aabbMax2 | |||
) |
Definition at line 224 of file btAabbUtil2.h.
SIMD_FORCE_INLINE bool TestTriangleAgainstAabb2 | ( | const btVector3 * | vertices, | |
const btVector3 & | aabbMin, | |||
const btVector3 & | aabbMax | |||
) |
conservative test for overlap between triangle and aabb
Definition at line 59 of file btAabbUtil2.h.