Skybox WIP
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user