Fixed that weird bug, some weird edge case with initializer lists and GLM

This commit is contained in:
Ben Kyd
2019-07-31 06:54:13 +01:00
parent 2aa11e25e6
commit db66ceacd1
2 changed files with 6 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
#include "camera.hpp"
Camera::Camera(glm::vec3 point, glm::vec3 dir, float w, float h, float f) {
point = { 0.0f, 0.0f, 0.0f };
point = point;
direction = dir;
w = w; h = h; focalLen = f;