Defines | Functions
btAabbUtil2.h File Reference
#include "btTransform.h"
#include "btVector3.h"
#include "btMinMax.h"
Include dependency graph for btAabbUtil2.h:
This graph shows which files directly or indirectly include this file:

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 &param, 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 &halfExtents, btScalar margin, const btTransform &t, btVector3 &aabbMinOut, btVector3 &aabbMaxOut)
SIMD_FORCE_INLINE void btTransformAabb (const btVector3 &localAabbMin, const btVector3 &localAabbMax, btScalar margin, const btTransform &trans, 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 unsigned 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 Documentation

#define USE_BANCHLESS   1

Definition at line 213 of file btAabbUtil2.h.


Function Documentation

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 &  halfExtents,
btScalar  margin,
const btTransform t,
btVector3 &  aabbMinOut,
btVector3 &  aabbMaxOut 
)

Definition at line 182 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 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 unsigned testQuantizedAabbAgainstQuantizedAabb ( const unsigned short int *  aabbMin1,
const unsigned short int *  aabbMax1,
const unsigned short int *  aabbMin2,
const unsigned short int *  aabbMax2 
)

Definition at line 216 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.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


bullet
Author(s): Erwin Coumans, ROS package maintained by Tully Foote
autogenerated on Wed Oct 31 2012 07:54:31