aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeanne-Kamikaze <jeannekamikaze@gmail.com>2013-03-13 15:41:18 +0100
committerJeanne-Kamikaze <jeannekamikaze@gmail.com>2013-03-13 15:41:18 +0100
commitc38a05517d24309ac755c7c0c3dae3878a076a78 (patch)
tree7d3427a9f9772dee7b56042b51d885ebcf1484cf
parent60985b91aba4bc62bd9cb3056f08c6e8bf591679 (diff)
Fixed whitespace
-rw-r--r--Spear/Math/Spatial3.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Spear/Math/Spatial3.hs b/Spear/Math/Spatial3.hs
index e0069b0..2027514 100644
--- a/Spear/Math/Spatial3.hs
+++ b/Spear/Math/Spatial3.hs
@@ -42,7 +42,7 @@ class Spatial3 s where
42 -- | Rotate the spatial about the given axis. 42 -- | Rotate the spatial about the given axis.
43 rotate :: Vector3 -> Float -> s -> s 43 rotate :: Vector3 -> Float -> s -> s
44 rotate axis a s = 44 rotate axis a s =
45 let t = transform s 45 let t = transform s
46 axis' = M.inverseTransform t `M.muld` axis 46 axis' = M.inverseTransform t `M.muld` axis
47 in setTransform (t * M.axisAngle axis' a) s 47 in setTransform (t * M.axisAngle axis' a) s
48 48