Fixes
This commit is contained in:
@ -34,7 +34,7 @@ namespace ia::iae
|
||||
for(auto& t: m_components)
|
||||
t->Draw();
|
||||
for(auto& t: m_children)
|
||||
t->Draw();
|
||||
if B_LIKELY(t->IsEnabled()) t->Draw();
|
||||
}
|
||||
|
||||
VOID Node2D::DebugDraw()
|
||||
@ -42,7 +42,7 @@ namespace ia::iae
|
||||
for(auto& t: m_components)
|
||||
t->DebugDraw();
|
||||
for(auto& t: m_children)
|
||||
t->DebugDraw();
|
||||
if B_LIKELY(t->IsEnabled()) t->DebugDraw();
|
||||
}
|
||||
|
||||
VOID Node2D::Update()
|
||||
@ -50,7 +50,7 @@ namespace ia::iae
|
||||
for(auto& t: m_components)
|
||||
t->Update();
|
||||
for(auto& t: m_children)
|
||||
t->Update();
|
||||
if B_LIKELY(t->IsEnabled()) t->Update();
|
||||
}
|
||||
|
||||
VOID Node2D::FixedUpdate()
|
||||
@ -58,6 +58,6 @@ namespace ia::iae
|
||||
for(auto& t: m_components)
|
||||
t->FixedUpdate();
|
||||
for(auto& t: m_children)
|
||||
t->FixedUpdate();
|
||||
if B_LIKELY(t->IsEnabled()) t->FixedUpdate();
|
||||
}
|
||||
} // namespace ia::iae
|
||||
Reference in New Issue
Block a user