Minor update - frustum rework

Complete overhaul of frustum culling
This commit is contained in:
2025-01-12 00:59:43 +01:00
parent ab0355ed97
commit 01a9c940f0
10 changed files with 201 additions and 77 deletions

View File

@@ -13,6 +13,7 @@ Object::Object() : ModelClass()
m_mass = NULL;
m_isGrounded = false;
m_id = NULL;
m_boundingRadius = 1.0f;
}
Object::~Object()
@@ -233,4 +234,9 @@ bool Object::IsPhysicsEnabled() const
void Object::SetPhysicsEnabled(bool state)
{
m_isPhysicsEnabled = state;
}
}
float Object::GetBoundingRadius() const
{
return m_boundingRadius;
}