Minor refactor and fixes
This commit is contained in:
@@ -48,3 +48,7 @@ mat4 Camera::getView(){
|
||||
else
|
||||
return glm::translate(glm::mat4(1.0f), position);
|
||||
}
|
||||
|
||||
mat4 Camera::getProjView(){
|
||||
return getProjection()*getView();
|
||||
}
|
||||
@@ -25,6 +25,7 @@ public:
|
||||
|
||||
mat4 getProjection();
|
||||
mat4 getView();
|
||||
mat4 getProjView();
|
||||
};
|
||||
|
||||
#endif /* WINDOW_CAMERA_H_ */
|
||||
|
||||
Reference in New Issue
Block a user