mirror of
https://github.com/TheRedShip/RT_GPU.git
synced 2025-09-27 10:48:34 +02:00
+ | Portal teleportation
This commit is contained in:
@ -26,6 +26,8 @@ struct GPUCamera
|
||||
int bounce;
|
||||
};
|
||||
|
||||
class Scene;
|
||||
|
||||
class Camera
|
||||
{
|
||||
public:
|
||||
@ -34,12 +36,14 @@ class Camera
|
||||
~Camera(void);
|
||||
|
||||
|
||||
void update(float deltaTime);
|
||||
void update(Scene *scene, float deltaTime);
|
||||
void processMouse(float xoffset, float yoffset, bool constrainPitch);
|
||||
void processKeyboard(bool forward, bool backward, bool left, bool right, bool up, bool down);
|
||||
|
||||
void updateCameraVectors();
|
||||
|
||||
void portalTeleport(Scene *scene);
|
||||
|
||||
glm::vec3 getPosition();
|
||||
glm::vec2 getDirection();
|
||||
glm::mat4 getViewMatrix();
|
||||
|
Reference in New Issue
Block a user