mirror of
https://github.com/AxioDL/zeus.git
synced 2025-12-16 00:17:06 +00:00
Alternate CAABox::accumulateBounds
This commit is contained in:
@@ -240,6 +240,12 @@ public:
|
||||
m_max.z = point.z;
|
||||
}
|
||||
|
||||
inline void accumulateBounds(const CAABox& other)
|
||||
{
|
||||
accumulateBounds(other.m_min);
|
||||
accumulateBounds(other.m_max);
|
||||
}
|
||||
|
||||
inline bool pointInside(const CVector3f& other) const
|
||||
{
|
||||
return (m_min.x <= other.x && other.x <= m_max.z &&
|
||||
|
||||
Reference in New Issue
Block a user