Public Member Functions | Public Attributes

btQuantizedBvhNode Struct Reference

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

#include <btQuantizedBvh.h>

List of all members.

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

Definition at line 66 of file btQuantizedBvh.h.

Definition at line 64 of file btQuantizedBvh.h.

Definition at line 63 of file btQuantizedBvh.h.


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