diff options
-rw-r--r-- | Spear.lkshw | 4 | ||||
-rw-r--r-- | Spear/Scene/GameObject.hs | 2 |
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 @@ | |||
1 | Version of workspace file format: | 1 | Version of workspace file format: |
2 | 1 | 2 | 1 |
3 | Time of storage: | 3 | Time of storage: |
4 | "Sat Sep 1 12:38:49 CEST 2012" | 4 | "Sat Sep 1 13:18:28 CEST 2012" |
5 | Name of the workspace: | 5 | Name of the workspace: |
6 | "Spear" | 6 | "Spear" |
7 | File paths of contained packages: | 7 | File paths of contained packages: |
8 | ["demos/simple-scene/simple-scene.cabal","Spear.cabal"] | 8 | ["demos/simple-scene/simple-scene.cabal","Spear.cabal"] |
9 | Maybe file path of an active package: | 9 | Maybe 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 = |