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:
parent
d0e7dbade0
commit
3b73621aab
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user