Fixed unitialized member variable

This commit is contained in:
Robert Osfield 2016-06-10 19:40:15 +01:00
parent 732e770f87
commit 157ee3dd7d

View File

@ -121,6 +121,7 @@ Camera::Lens::Lens( void )
_ortho_top = 1.0; _ortho_top = 1.0;
_nearClip = 1.0; _nearClip = 1.0;
_farClip = 1e6; _farClip = 1e6;
_auto_aspect = false;
_updateFOV(); _updateFOV();
_projection = Perspective; _projection = Perspective;
} }