Adjusted view for better visibility

master
Martin Felis 2020-11-24 22:30:29 +01:00
parent b00e78cd9c
commit 28d7e5efaa
1 changed files with 2 additions and 2 deletions

View File

@ -155,11 +155,11 @@ void DoRender() {
simd4x4f view; simd4x4f view;
simd4x4f proj; simd4x4f proj;
simd4x4f_translation(&view, 0.1f, 0.1f, -0.5f); simd4x4f_translation(&view, 0.1f, 0.1f, -0.5f);
simd4f eye = simd4f_create (0.f, 1.f, 10.f, 1.f); simd4f eye = simd4f_create (0.f, 3.f, 10.f, 1.f);
simd4x4f_lookat( simd4x4f_lookat(
&view, &view,
eye, eye,
simd4f_create(0.f, 0.f, 0.f, 1.f), simd4f_create(0.f, 1.f, 0.f, 1.f),
simd4f_create(0.f, 1.f, 0.f, 1.f)); simd4f_create(0.f, 1.f, 0.f, 1.f));
float view_width = content_avail.x / 50.f; float view_width = content_avail.x / 50.f;