Changing default init of camera.
This commit is contained in:
parent
6d167a2d2a
commit
b39e6702cc
@ -7,8 +7,7 @@ Camera::Camera(glm::vec2 rotation, float distance) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Camera::Camera() {
|
Camera::Camera() {
|
||||||
rotation = glm::vec2(0.0f, 0.0f);
|
Camera(glm::vec2(0.0f, 0.0f), 5.0f);
|
||||||
distance = 5.0f;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Camera::~Camera() {
|
Camera::~Camera() {
|
||||||
|
Loading…
Reference in New Issue
Block a user