1#ifndef GIM_QUANTIZED_SET_STRUCTS_H_INCLUDED
2#define GIM_QUANTIZED_SET_STRUCTS_H_INCLUDED
36 unsigned short int m_quantizedAabbMin[3];
37 unsigned short int m_quantizedAabbMax[3];
43 m_escapeIndexOrDataIndex = 0;
49 return (m_escapeIndexOrDataIndex >= 0);
55 return -m_escapeIndexOrDataIndex;
60 m_escapeIndexOrDataIndex = -index;
67 return m_escapeIndexOrDataIndex;
72 m_escapeIndexOrDataIndex = index;
76 unsigned short* quantizedMin,
unsigned short* quantizedMax)
const
78 if (m_quantizedAabbMin[0] > quantizedMax[0] ||
79 m_quantizedAabbMax[0] < quantizedMin[0] ||
80 m_quantizedAabbMin[1] > quantizedMax[1] ||
81 m_quantizedAabbMax[1] < quantizedMin[1] ||
82 m_quantizedAabbMin[2] > quantizedMax[2] ||
83 m_quantizedAabbMax[2] < quantizedMin[2])
#define ATTRIBUTE_ALIGNED16(a)
#define SIMD_FORCE_INLINE
btQuantizedBvhNode is a compressed aabb node, 16 bytes.
bool testQuantizedBoxOverlapp(unsigned short *quantizedMin, unsigned short *quantizedMax) const
int getEscapeIndex() const
void setEscapeIndex(int index)
void setDataIndex(int index)
int m_escapeIndexOrDataIndex