mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
refactor: player cameras are resources now
This commit is contained in:
parent
9623f35862
commit
9a18476437
4 changed files with 36 additions and 20 deletions
|
|
@ -20,7 +20,9 @@ public:
|
|||
bool flipped = false;
|
||||
float aspect = 0.0f;
|
||||
|
||||
Camera() {}
|
||||
Camera() {
|
||||
updateVectors();
|
||||
}
|
||||
Camera(glm::vec3 position, float fov);
|
||||
|
||||
void rotate(float x, float y, float z);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue