forked from Dynamitos/Seele
Moving projection to viewport
This commit is contained in:
1 parent
1e04da963d
commit
3c7346cf7b
18 files changed
+87
-86
No files matched your search
@@ -24,7 +24,7 @@ void System::update()
|
||||
|
||||
void System::updateViewport(Gfx::PViewport viewport)
|
||||
{
|
||||
virtualCamera.projectionMatrix = glm::ortho<float>(0.0f, static_cast<float>(viewport->getSizeX()), 0.0f, static_cast<float>(viewport->getSizeY()));
|
||||
//TODO set viewport FoV to 0
|
||||
}
|
||||
|
||||
UIPassData System::getUIPassData()
|
||||
|
||||
Reference in new issue
Block a user