mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
skybox projection improvement
This commit is contained in:
parent
d4999901c2
commit
1409df4b86
4 changed files with 9 additions and 9 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue