mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 18:48:36 +02:00
+ | Pixelisation when moving
This commit is contained in:
@ -117,6 +117,11 @@ GPUCamera Camera::getGPUData()
|
||||
return (data);
|
||||
}
|
||||
|
||||
float Camera::getVelocity()
|
||||
{
|
||||
return (glm::length(_velocity));
|
||||
}
|
||||
|
||||
void Camera::setPosition(glm::vec3 position)
|
||||
{
|
||||
_position = position;
|
||||
|
Reference in New Issue
Block a user