Default initialize camera variables
This commit is contained in:
parent
dd8131a059
commit
d5d9c9ee23
1 changed files with 1 additions and 1 deletions
|
@ -4,5 +4,5 @@
|
|||
|
||||
class Camera {
|
||||
public:
|
||||
glm::vec3 position, target;
|
||||
glm::vec3 position = glm::vec3(0), target = glm::vec3(0);
|
||||
};
|
||||
|
|
Reference in a new issue