1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 15:02:34 +02:00

Fixed passing int instead of float to glm::radians

This commit is contained in:
Timmy Sjöstedt 2015-03-30 02:03:22 +02:00 committed by Daniel Evans
parent d0e7dbade0
commit 3b73621aab

View File

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