Blender  V3.3
Functions | Variables
btGImpactQuantizedBvhStructs.h File Reference
#include "btGImpactBvh.h"
#include "btQuantization.h"

Go to the source code of this file.

Functions

SIMD_FORCE_INLINE bool isLeafNode () const
 
SIMD_FORCE_INLINE int getEscapeIndex () const
 
SIMD_FORCE_INLINE void setEscapeIndex (int index)
 
SIMD_FORCE_INLINE int getDataIndex () const
 
SIMD_FORCE_INLINE void setDataIndex (int index)
 
SIMD_FORCE_INLINE bool testQuantizedBoxOverlapp (unsigned short *quantizedMin, unsigned short *quantizedMax) const
 

Variables

 BT_QUANTIZED_BVH_NODE
 
unsigned short int m_quantizedAabbMax [3]
 
int m_escapeIndexOrDataIndex
 

Function Documentation

◆ getDataIndex()

SIMD_FORCE_INLINE int getDataIndex ( ) const

Definition at line 63 of file btGImpactQuantizedBvhStructs.h.

References m_escapeIndexOrDataIndex.

◆ getEscapeIndex()

SIMD_FORCE_INLINE int getEscapeIndex ( ) const

Definition at line 52 of file btGImpactQuantizedBvhStructs.h.

References m_escapeIndexOrDataIndex.

◆ isLeafNode()

SIMD_FORCE_INLINE bool isLeafNode ( ) const

Definition at line 46 of file btGImpactQuantizedBvhStructs.h.

References m_escapeIndexOrDataIndex.

◆ setDataIndex()

SIMD_FORCE_INLINE void setDataIndex ( int  index)

Definition at line 70 of file btGImpactQuantizedBvhStructs.h.

References m_escapeIndexOrDataIndex.

◆ setEscapeIndex()

SIMD_FORCE_INLINE void setEscapeIndex ( int  index)

Definition at line 58 of file btGImpactQuantizedBvhStructs.h.

References m_escapeIndexOrDataIndex.

◆ testQuantizedBoxOverlapp()

SIMD_FORCE_INLINE bool testQuantizedBoxOverlapp ( unsigned short *  quantizedMin,
unsigned short *  quantizedMax 
) const

Definition at line 75 of file btGImpactQuantizedBvhStructs.h.

References m_quantizedAabbMax, and m_quantizedAabbMin.

Variable Documentation

◆ BT_QUANTIZED_BVH_NODE

BT_QUANTIZED_BVH_NODE
Initial value:
{
unsigned short int m_quantizedAabbMin[3]
unsigned short int m_quantizedAabbMin[3]

btQuantizedBvhNode is a compressed aabb node, 16 bytes. Node can be used for leafnode or internal node. Leafnodes can point to 32-bit triangle index (non-negative range).

Definition at line 33 of file btGImpactQuantizedBvhStructs.h.

◆ m_escapeIndexOrDataIndex

int m_escapeIndexOrDataIndex

◆ m_quantizedAabbMax

unsigned short int m_quantizedAabbMax[3]

Definition at line 37 of file btGImpactQuantizedBvhStructs.h.

Referenced by testQuantizedBoxOverlapp().