MAYBE IF IMGUI JUST WORKEDDDDDDDDDDDD

This commit is contained in:
Ben
2019-10-04 22:03:07 +01:00
parent aeb6f46435
commit dbd96ca06f
10 changed files with 129 additions and 13 deletions

View File

@@ -1,5 +1,14 @@
#include "camera.hpp"
Camera::Camera() {
roll = 0.0f;
pitch = 0.0f;
yaw = 0.0f;
eyeVector = {};
viewMatrix = {};
}
void Camera::UpdateView() {
// roll can be removed from here. because is not actually used in FPS camera
glm::mat4 matRoll = glm::mat4(1.0f);//identity matrix;