skybox projection improvement
This commit is contained in:
@@ -58,8 +58,8 @@ mat4 Camera::getView(bool pos){
|
||||
}
|
||||
}
|
||||
|
||||
mat4 Camera::getProjView(){
|
||||
return getProjection()*getView();
|
||||
mat4 Camera::getProjView(bool pos){
|
||||
return getProjection()*getView(pos);
|
||||
}
|
||||
|
||||
void Camera::setFov(float fov) {
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ public:
|
||||
|
||||
glm::mat4 getProjection();
|
||||
glm::mat4 getView(bool position=true);
|
||||
glm::mat4 getProjView();
|
||||
glm::mat4 getProjView(bool position=true);
|
||||
|
||||
void setFov(float fov);
|
||||
float getFov() const;
|
||||
|
||||
Reference in New Issue
Block a user