From f0587ba02db5d95467e3b875c0756c87920d72fc Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 26 Jan 2021 21:13:27 +0000 Subject: Better default camera pos --- application/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'application') diff --git a/application/main.cpp b/application/main.cpp index f7861c8..fe81b88 100644 --- a/application/main.cpp +++ b/application/main.cpp @@ -70,7 +70,8 @@ public: world.create(); Shader shader; - Camera camera({-5.0F, 2.0F, -5.0F}, 70.0F, (float)DISPLAY_WIDTH / (float)DISPLAY_HEIGHT, 0.1F, 100.0F); + Camera camera({-1250.0F, 35.0F, -1250.0F}, 70.0F, (float)DISPLAY_WIDTH / (float)DISPLAY_HEIGHT, 0.1F, 10000.0F); + camera.Pitch(0.24); camera.RotateY(0.7854); shader.Bind(); shader.setView(camera.GetViewProjection()); -- cgit v1.2.3