Broken binding of central picture in one pass
This commit is contained in:
+2
-2
@@ -176,11 +176,11 @@ scale3 a b (x,y,z) = (x*a,y*b,z)
|
||||
|
||||
scale :: Float -> Float -> Picture -> Picture
|
||||
{-# INLINE scale #-}
|
||||
scale x y = map $ second $ overPos $ (scale3 x y)
|
||||
scale x y = map . second . overPos $ scale3 x y
|
||||
|
||||
rotate :: Float -> Picture -> Picture
|
||||
{-# INLINE rotate #-}
|
||||
rotate a = map $ second $ overPos $ (rotate3 a)
|
||||
rotate a = map . second . overPos $ rotate3 a
|
||||
|
||||
pictures :: [Picture] -> Picture
|
||||
{-# INLINE pictures #-}
|
||||
|
||||
Reference in New Issue
Block a user