diff options
author | Matt Turner <mattst88@gmail.com> | 2012-10-10 18:16:37 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2012-10-10 18:17:39 -0700 |
commit | 9d85eb0769ade49a65d8c2d9643d3d67e5c31dcc (patch) | |
tree | 7236f28d5d041645a2b4a6b61688487072a9d1df | |
parent | 8832441dd75848cac5c105097396ffb34343c5cb (diff) |
Do matrix rotation
-rw-r--r-- | src/main.cpp | 4 |
1 files 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) }; |