#include "Stdafx.h"
Go to the source code of this file.
Defines | |
#define | IMPLEMENT_LEAFDUMP(type) |
#define | IMPLEMENT_NOLEAFDUMP(type) |
#define IMPLEMENT_LEAFDUMP | ( | type | ) |
void VolumeCollider::_Dump(const type* node) \ { \ if(node->IsLeaf()) \ { \ mTouchedPrimitives->Add(node->GetPrimitive()); \ } \ else \ { \ _Dump(node->GetPos()); \ \ if(ContactFound()) return; \ \ _Dump(node->GetNeg()); \ } \ }
Definition at line 82 of file OPC_VolumeCollider.cpp.
#define IMPLEMENT_NOLEAFDUMP | ( | type | ) |
void VolumeCollider::_Dump(const type* node) \ { \ if(node->HasPosLeaf()) mTouchedPrimitives->Add(node->GetPosPrimitive()); \ else _Dump(node->GetPos()); \ \ if(ContactFound()) return; \ \ if(node->HasNegLeaf()) mTouchedPrimitives->Add(node->GetNegPrimitive()); \ else _Dump(node->GetNeg()); \ }
Definition at line 70 of file OPC_VolumeCollider.cpp.