style: GetGrounded() => IsGrounded()

This commit is contained in:
StratiX0
2024-04-25 10:37:45 +02:00
parent a7d40865e1
commit 6db8cc7efc
4 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ void Physics::ApplyGravity(Object* object, float dragValue, float frameTime)
return;
}
if (!object->GetGrounded()) // Verify if the object is grounded
if (!object->IsGrounded()) // Verify if the object is grounded
{
// Calculate the acceleration caused by gravity
XMVECTOR gravityAcceleration = m_gravity / object->GetMass();