Minor refactor and fixes

This commit is contained in:
MihailRis
2023-11-16 10:53:34 +03:00
parent 1b935aa081
commit 5175c9be92
4 changed files with 12 additions and 10 deletions
+4
View File
@@ -48,3 +48,7 @@ mat4 Camera::getView(){
else
return glm::translate(glm::mat4(1.0f), position);
}
mat4 Camera::getProjView(){
return getProjection()*getView();
}
+1
View File
@@ -25,6 +25,7 @@ public:
mat4 getProjection();
mat4 getView();
mat4 getProjView();
};
#endif /* WINDOW_CAMERA_H_ */