added Empty() and Clear() members to AABBBinaryTreeIndex.
This commit is contained in:
parent
f1761e86b7
commit
e65be2aa17
|
@ -73,6 +73,16 @@ public:
|
||||||
return (this->tree);
|
return (this->tree);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool Empty()
|
||||||
|
{
|
||||||
|
return (this->tree.pRoot == 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Clear(void)
|
||||||
|
{
|
||||||
|
this->tree.Clear();
|
||||||
|
}
|
||||||
|
|
||||||
template <class OBJITER>
|
template <class OBJITER>
|
||||||
inline void Set(const OBJITER & _oBegin, const OBJITER & _oEnd) {
|
inline void Set(const OBJITER & _oBegin, const OBJITER & _oEnd) {
|
||||||
GetPointerFunctor getPtr;
|
GetPointerFunctor getPtr;
|
||||||
|
|
Loading…
Reference in New Issue