1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-11-25 11:52:40 +01:00

Added default 90° FOV.

This commit is contained in:
Timmy Sjöstedt 2015-03-30 01:46:41 +02:00 committed by Daniel Evans
parent 97807f24b7
commit 4af866c92e

View File

@ -273,6 +273,7 @@ void RWGame::render(float alpha, float time)
renderer->setViewport(size.x, size.y);
ViewCamera viewCam;
viewCam.frustum.fov = glm::radians(90);
if( engine->state.currentCutscene != nullptr && engine->state.cutsceneStartTime >= 0.f )
{
auto cutscene = engine->state.currentCutscene;