mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51: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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue