mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-03-23 13:25:40 -04:00
Merge branch 'master' of github.com:bkaradzic/bgfx
This commit is contained in:
commit
e00a3264ef
1 changed files with 1 additions and 1 deletions
|
@ -1960,7 +1960,7 @@ int _main_(int _argc, char** _argv)
|
||||||
const float camNear = 0.1f;
|
const float camNear = 0.1f;
|
||||||
const float camFar = 2000.0f;
|
const float camFar = 2000.0f;
|
||||||
const float projHeight = 1.0f/tanf(bx::toRad(camFovy)*0.5f);
|
const float projHeight = 1.0f/tanf(bx::toRad(camFovy)*0.5f);
|
||||||
const float projWidth = projHeight * 1.0f/camAspect;
|
const float projWidth = projHeight * camAspect;
|
||||||
bx::mtxProj(viewState.m_proj, camFovy, camAspect, camNear, camFar);
|
bx::mtxProj(viewState.m_proj, camFovy, camAspect, camNear, camFar);
|
||||||
cameraGetViewMtx(viewState.m_view);
|
cameraGetViewMtx(viewState.m_view);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue