Small fix.

This commit is contained in:
Dario Manesku 2014-01-30 19:44:37 +01:00
parent 950bba4d54
commit e27d75a690
2 changed files with 2 additions and 0 deletions

View File

@ -2171,6 +2171,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
float initialPos[3] = { 3.0f, 20.0f, -58.0f };
cameraSetPosition(initialPos);
cameraSetVerticalAngle(-0.25f);
cameraUpdate(0.0f);
cameraGetViewMtx(viewState.m_view);
entry::MouseState mouseState;

View File

@ -2095,6 +2095,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
float initialPos[3] = { 0.0f, 60.0f, -105.0f };
cameraSetPosition(initialPos);
cameraSetVerticalAngle(-0.45f);
cameraUpdate(0.0f);
// Set view and projection matrices.
const float camFovy = 60.0f;