aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Spear.lkshw4
-rw-r--r--Spear/Scene/GameObject.hs2
2 files changed, 3 insertions, 3 deletions
diff --git a/Spear.lkshw b/Spear.lkshw
index 0705660..bd8c4e2 100644
--- a/Spear.lkshw
+++ b/Spear.lkshw
@@ -1,10 +1,10 @@
1Version of workspace file format: 1Version of workspace file format:
2 1 2 1
3Time of storage: 3Time of storage:
4 "Sat Sep 1 12:38:49 CEST 2012" 4 "Sat Sep 1 13:18:28 CEST 2012"
5Name of the workspace: 5Name of the workspace:
6 "Spear" 6 "Spear"
7File paths of contained packages: 7File paths of contained packages:
8 ["demos/simple-scene/simple-scene.cabal","Spear.cabal"] 8 ["demos/simple-scene/simple-scene.cabal","Spear.cabal"]
9Maybe file path of an active package: 9Maybe file path of an active package:
10 Just "Spear.cabal" \ No newline at end of file 10 Just "demos/simple-scene/simple-scene.cabal" \ No newline at end of file
diff --git a/Spear/Scene/GameObject.hs b/Spear/Scene/GameObject.hs
index 2567e52..139fea9 100644
--- a/Spear/Scene/GameObject.hs
+++ b/Spear/Scene/GameObject.hs
@@ -103,7 +103,7 @@ instance S2.Spatial2 GameObject where
103 rotate a go = 103 rotate a go =
104 go 104 go
105 { transform = transform go * M3.rot a 105 { transform = transform go * M3.rot a
106 , angle = (angle go + a) `mod'` 360 106 , angle = (angle go + a) `mod'` 360
107 } 107 }
108 108
109 setRotation a go = 109 setRotation a go =