From: Mikko Rasa Date: Mon, 14 Dec 2015 22:38:07 +0000 (+0200) Subject: Tweak the view matrix in interactive control mode X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=b3cf076f4ed9c67eb2d03d38382ce7a5c4993dba;p=geometrycompositor.git Tweak the view matrix in interactive control mode --- diff --git a/source/control.c b/source/control.c index b268f36..533bb80 100644 --- a/source/control.c +++ b/source/control.c @@ -32,10 +32,10 @@ typedef struct InteractiveView static unsigned short frustum_indices[] = { 2, 1, 3, 0, 1, 0xFFFF, 3, 4, 2, 0, 4, 0xFFFF }; static float view_matrix[] = { - 0.70711f, 0.40825f, -0.57735f, 0.0f, - 0.0f, 0.81650f, 0.57735f, 0.0f, - 0.70711f, -0.40725f, 0.57735f, 0.0f, - -0.2f, 0.0f, -2.5f, 1.0f + 0.70711f, 0.23570f, -0.66667f, 0.0f, + 0.0f, 0.94281f, 0.33333f, 0.0f, + 0.70711f, -0.23570f, 0.66667f, 0.0f, + -0.2f, 0.0f, -2.0f, 1.0f }; static float projection_matrix[] = {