This commit is contained in:
Simon Bruder 2022-12-27 20:01:53 +01:00
parent d823f5b33c
commit b9c0851beb
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -16,7 +16,7 @@ instance Arbitrary Vertex where
return (Point (x, y)) return (Point (x, y))
-- | 'fromAngle' @angle@ -- | 'fromAngle' @angle@
-- creats a point on the unit circle at the specified angle -- creates a point on the unit circle at the specified angle
-- (specified in radians). -- (specified in radians).
fromAngle angle = Point (sin angle, cos angle) fromAngle angle = Point (sin angle, cos angle)