mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 07:07:42 +00:00
Static geometry list in CBooRenderer
This commit is contained in:
@@ -45,6 +45,14 @@ struct CBooSurface
|
||||
size_t selfIdx;
|
||||
class CBooModel* m_parent = nullptr;
|
||||
CBooSurface* m_next = nullptr;
|
||||
|
||||
zeus::CAABox GetBounds() const
|
||||
{
|
||||
if (!m_data.aabbSz)
|
||||
return zeus::CAABox(m_data.centroid, m_data.centroid);
|
||||
else
|
||||
return zeus::CAABox(m_data.aabb[0], m_data.aabb[1]);
|
||||
}
|
||||
};
|
||||
|
||||
class CBooModel
|
||||
|
||||
Reference in New Issue
Block a user