Fix haddock comment

This commit is contained in:
hasufell 2014-10-09 03:15:27 +02:00
parent f230738e08
commit 357c427f0b
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020

View File

@ -20,7 +20,7 @@ inRange (xlD, xuD) (ylD, yuD) p
(x, y) = unp2 p (x, y) = unp2 p
-- |Get the angle between two vectors in degrees. -- |Get the angle between two vectors.
getAngle :: Vec -> Vec -> Double getAngle :: Vec -> Vec -> Double
getAngle a b = acos . getAngle a b = acos .
flip (/) (vecLength a * vecLength b) . flip (/) (vecLength a * vecLength b) .