fun with dots

This commit is contained in:
Asuro
2025-02-10 17:57:21 +01:00
parent 16fcfa8af9
commit cbe21bfd78
6 changed files with 68 additions and 22 deletions

View File

@@ -124,7 +124,7 @@ namespace Game
| BGFX_STATE_WRITE_A
| BGFX_STATE_WRITE_Z
| BGFX_STATE_DEPTH_TEST_LESS
| BGFX_STATE_CULL_CW
| BGFX_STATE_CULL_CCW
| BGFX_STATE_MSAA;
if (!GetInstance().IsInitialized)
@@ -172,7 +172,7 @@ namespace Game
bx::mtxLookAt(view, eye, at);
float proj[16];
bx::mtxProj(proj, 60.0f, float(shared.Window.WindowWidth) / float(shared.Window.WindowHeight), 0.1f, 100.0f, bgfx::getCaps()->homogeneousDepth);
bx::mtxProj(proj, 75.0f, float(shared.Window.WindowWidth) / float(shared.Window.WindowHeight), 0.1f, 100.0f, bgfx::getCaps()->homogeneousDepth);
bgfx::setViewTransform(0, view, proj);
// Set view 0 default viewport.