From c38a05517d24309ac755c7c0c3dae3878a076a78 Mon Sep 17 00:00:00 2001 From: Jeanne-Kamikaze Date: Wed, 13 Mar 2013 15:41:18 +0100 Subject: Fixed whitespace --- Spear/Math/Spatial3.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- | Rotate the spatial about the given axis. rotate :: Vector3 -> Float -> s -> s rotate axis a s = - let t = transform s + let t = transform s axis' = M.inverseTransform t `M.muld` axis in setTransform (t * M.axisAngle axis' a) s -- cgit v1.2.3