From 9d85eb0769ade49a65d8c2d9643d3d67e5c31dcc Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Wed, 10 Oct 2012 18:16:37 -0700 Subject: Do matrix rotation --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 083427c..a341233 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -81,8 +81,8 @@ static void Redisplay(void) { const float m[4] = { - 1.0, 0.0, - 0.0, 1.0 + cosf(angle_offset), sinf(angle_offset), + -sinf(angle_offset), cosf(angle_offset) }; -- cgit v1.2.3