Blender  V3.3
Public Member Functions | Public Attributes | List of all members
btDbvtNode Struct Reference

#include <btDbvt.h>

Public Member Functions

DBVT_INLINE bool isleaf () const
 
DBVT_INLINE bool isinternal () const
 

Public Attributes

btDbvtVolume volume
 
btDbvtNodeparent
 
union {
   btDbvtNode *   childs [2]
 
   void *   data
 
   int   dataAsInt
 
}; 
 

Detailed Description

Definition at line 180 of file btDbvt.h.

Member Function Documentation

◆ isinternal()

DBVT_INLINE bool btDbvtNode::isinternal ( ) const
inline

◆ isleaf()

DBVT_INLINE bool btDbvtNode::isleaf ( ) const
inline

Definition at line 184 of file btDbvt.h.

References childs.

Referenced by insertleaf(), and isinternal().

Member Data Documentation

◆ 

union { ... }

◆ childs

btDbvtNode* btDbvtNode::childs[2]

◆ data

void* btDbvtNode::data

◆ dataAsInt

int btDbvtNode::dataAsInt

◆ parent

btDbvtNode* btDbvtNode::parent

Definition at line 183 of file btDbvt.h.

Referenced by bottomup(), insertleaf(), removeleaf(), sort(), btDbvt::update(), and btDbvt::write().

◆ volume

btDbvtVolume btDbvtNode::volume

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