Added 'intersects' function to Region.

This commit is contained in:
David Williams
2013-01-14 23:13:17 +01:00
parent e05cb1fefc
commit 1d1dcc875a
2 changed files with 21 additions and 6 deletions

View File

@ -207,6 +207,8 @@ namespace PolyVox
int32_t m_iUpperZ;
};
bool intersects(const Region& a, const Region& b);
// Functions to be inlined to to be in the header rather than the .cpp.
// 'inline' keyword is used for the definition rather than the declaration.
// See also http://www.parashift.com/c++-faq-lite/inline-functions.html