X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2FFace.hs;h=ce4a5d54403166b34391108e4f48cfda1c77503c;hb=0696fc4f3e428d2156f0be4ca40728abf2e35abe;hp=f4bc1580882e6c8ba9050462948d794dc65a13d2;hpb=539486a032dbd760bf01c37d6d8e063aaf4a59bc;p=spline3.git diff --git a/src/Face.hs b/src/Face.hs index f4bc158..ce4a5d5 100644 --- a/src/Face.hs +++ b/src/Face.hs @@ -6,7 +6,7 @@ module Face ( center ) where -import Point ( Point(..), scale ) +import Point ( Point, scale ) data Face = Face { v0 :: !Point, v1 :: !Point, @@ -28,4 +28,4 @@ instance Show Face where -- tetrahedron. center :: Face -> Point center (Face v0' v1' v2' v3') = - (v0' + v1' + v2' + v3') `scale` (1/4) + (v0' + v1' + v2' + v3') `scale` (1 / 4)