+ | Pixelisation when moving

This commit is contained in:
TheRedShip
2025-01-10 23:44:17 +01:00
parent bd2a371b50
commit e46f41a4b4
7 changed files with 33 additions and 7 deletions

View File

@ -117,6 +117,11 @@ GPUCamera Camera::getGPUData()
return (data);
}
float Camera::getVelocity()
{
return (glm::length(_velocity));
}
void Camera::setPosition(glm::vec3 position)
{
_position = position;