Merge pull request #23 from antopilo/cleanup/code-autoformatting

Cleanup/code autoformatting
This commit is contained in:
Antoine Pilote
2023-07-10 16:01:36 -04:00
committed by GitHub
27 changed files with 412 additions and 399 deletions

View File

@@ -50,8 +50,10 @@ namespace Nuake
void PhysicsSystem::Update(Timestep ts)
{
if (!Engine::IsPlayMode)
if (!Engine::IsPlayMode())
{
return;
}
auto brushes = m_Scene->m_Registry.view<TransformComponent, BSPBrushComponent>();
for (auto e : brushes)
@@ -114,7 +116,7 @@ namespace Nuake
void PhysicsSystem::FixedUpdate(Timestep ts)
{
if (!Engine::IsPlayMode)
if (!Engine::IsPlayMode())
return;
PhysicsManager::Get().Step(ts);