mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
Minor refactor and fixes
This commit is contained in:
parent
1b935aa081
commit
5175c9be92
4 changed files with 12 additions and 10 deletions
|
|
@ -48,3 +48,7 @@ mat4 Camera::getView(){
|
|||
else
|
||||
return glm::translate(glm::mat4(1.0f), position);
|
||||
}
|
||||
|
||||
mat4 Camera::getProjView(){
|
||||
return getProjection()*getView();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue