mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Small fix.
This commit is contained in:
parent
950bba4d54
commit
e27d75a690
2 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue