Physic rebuild start
This commit is contained in:
@@ -176,9 +176,9 @@ void Object::SetVelocity(XMVECTOR velocity)
|
||||
m_velocity = velocity;
|
||||
}
|
||||
|
||||
void Object::AddVelocity(float frameTime)
|
||||
void Object::AddVelocity(float deltaTime)
|
||||
{
|
||||
m_velocity += m_acceleration * frameTime;
|
||||
m_velocity += m_acceleration * deltaTime;
|
||||
}
|
||||
|
||||
XMVECTOR Object::GetVelocity() const
|
||||
|
||||
Reference in New Issue
Block a user