Skybox WIP

This commit is contained in:
2025-01-21 15:28:37 +01:00
parent 296e04692a
commit 172db0b96d
16 changed files with 177 additions and 88 deletions

View File

@@ -253,3 +253,10 @@ float Object::GetBoundingRadius() const
{
return m_boundingRadius;
}
void Object::UpdatePosition(float deltaTime)
{
XMVECTOR position = GetPosition();
position = position + GetVelocity() * deltaTime;
SetPosition(position);
}