|
OPC_AABBTree.h File Reference
Detailed Description
Contains code for a versatile AABB tree.
-
Author:
-
Pierre Terdiman
-
Date:
-
March, 20, 2001
Define Documentation
| #define IMPLEMENT_TREE |
( |
baseclass, |
|
|
volume |
|
) |
|
|
|
|
Value: public: \
\
baseclass(); \
~baseclass(); \
\
__forceinline const volume* Get##volume() const { return &mBV; } \
__forceinline const baseclass* GetPos() const { return mP; } \
__forceinline const baseclass* GetNeg() const { return mN; } \
\
__forceinline bool IsLeaf() const { return (!mP && !mN); } \
\
\
__forceinline udword GetNodeSize() const { return SIZEOFOBJECT; } \
protected: \
\
\
\
volume mBV; \
baseclass* mP; \
baseclass* mN; |
| #define IMPLEMENT_TREE |
( |
baseclass, |
|
|
volume |
|
) |
|
|
|
|
Value: public: \
\
baseclass(); \
~baseclass(); \
\
__forceinline const volume* Get##volume() const { return &mBV; } \
__forceinline const baseclass* GetPos() const { return mP; } \
__forceinline const baseclass* GetNeg() const { return mN; } \
\
__forceinline bool IsLeaf() const { return (!mP && !mN); } \
\
\
__forceinline udword GetNodeSize() const { return SIZEOFOBJECT; } \
protected: \
\
\
\
volume mBV; \
baseclass* mP; \
baseclass* mN; |
Flat Four Engine
Copyright (C) 2001 by 379, Inc.
|
This page generated by Doxygen
|
|