mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
fix cameras loading
This commit is contained in:
parent
9a18476437
commit
24ecb94942
3 changed files with 3 additions and 3 deletions
|
|
@ -4,7 +4,6 @@
|
|||
#include <glm/glm.hpp>
|
||||
|
||||
class Camera {
|
||||
void updateVectors();
|
||||
float fov = 1.0f;
|
||||
public:
|
||||
glm::vec3 front {};
|
||||
|
|
@ -25,6 +24,7 @@ public:
|
|||
}
|
||||
Camera(glm::vec3 position, float fov);
|
||||
|
||||
void updateVectors();
|
||||
void rotate(float x, float y, float z);
|
||||
|
||||
glm::mat4 getProjection();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue