Adjusted view for better visibility
parent
b00e78cd9c
commit
28d7e5efaa
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue