gelatin-0.1.0.1: A graphics description language.
Gelatin.Core.Triangle
type Triangle a = (a, a, a) Source #
trisToComp :: Unbox a => Vector (Triangle (V2 a)) -> Vector (V2 a) Source #
triPoints :: Unbox a => Triangle (V2 a) -> Vector (V2 a) Source #
bezToTri :: Bezier a -> Triangle a Source #
triToPath :: Unbox a => Triangle a -> Vector a Source #
fmapTriangle :: (t -> t1) -> (t, t, t) -> (t1, t1, t1) Source #
triBounds :: Triangle (V2 Float) -> BBox Source #
sizeToTris :: V2 Float -> Vector (Triangle (V2 Float)) Source #