Bullet Collision Detection & Physics Library
Public Member Functions | Public Attributes | List of all members
btQuantizedBvhNode Struct Reference

btQuantizedBvhNode is a compressed aabb node, 16 bytes. More...

#include <btQuantizedBvh.h>

Public Member Functions

 BT_DECLARE_ALIGNED_ALLOCATOR ()
 
bool isLeafNode () const
 
int getEscapeIndex () const
 
int getTriangleIndex () const
 
int getPartId () const
 

Public Attributes

unsigned short int m_quantizedAabbMin [3]
 
unsigned short int m_quantizedAabbMax [3]
 
int m_escapeIndexOrTriangleIndex
 

Detailed Description

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 58 of file btQuantizedBvh.h.

Member Function Documentation

btQuantizedBvhNode::BT_DECLARE_ALIGNED_ALLOCATOR ( )
int btQuantizedBvhNode::getEscapeIndex ( ) const
inline

Definition at line 73 of file btQuantizedBvh.h.

int btQuantizedBvhNode::getPartId ( ) const
inline

Definition at line 86 of file btQuantizedBvh.h.

int btQuantizedBvhNode::getTriangleIndex ( ) const
inline

Definition at line 78 of file btQuantizedBvh.h.

bool btQuantizedBvhNode::isLeafNode ( ) const
inline

Definition at line 68 of file btQuantizedBvh.h.

Member Data Documentation

int btQuantizedBvhNode::m_escapeIndexOrTriangleIndex

Definition at line 66 of file btQuantizedBvh.h.

unsigned short int btQuantizedBvhNode::m_quantizedAabbMax[3]

Definition at line 64 of file btQuantizedBvh.h.

unsigned short int btQuantizedBvhNode::m_quantizedAabbMin[3]

Definition at line 63 of file btQuantizedBvh.h.


The documentation for this struct was generated from the following file: