summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2012-10-10 18:16:37 -0700
committerMatt Turner <mattst88@gmail.com>2012-10-10 18:17:39 -0700
commit9d85eb0769ade49a65d8c2d9643d3d67e5c31dcc (patch)
tree7236f28d5d041645a2b4a6b61688487072a9d1df /src
parent8832441dd75848cac5c105097396ffb34343c5cb (diff)
Do matrix rotation
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp4
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)
};