collada-types-0.4: Data exchange between graphics applications

Safe HaskellNone
LanguageHaskell98

Graphics.Formats.Collada.Transformations

Synopsis

Documentation

extrude :: V3 -> Geometry -> Geometry Source #

extrude a 2d polygon to 3d, the same points are added again with extrusion direction v

cycleNeighbours :: Vector a -> Vector (Vector a) Source #

return a list containing lists of every element with its neighbour i.e. [e1,e2,e3] -> [ [e1,e2], [e2,e3], [e3, e1] ]

cycleN :: a -> Vector a -> Vector (Vector a) Source #