collada-types-0.2: Data exchange between graphic applications

Graphics.Formats.Collada.Transformations

Synopsis

Documentation

extrude :: V -> Geometry -> GeometrySource

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

cycleNeighbours :: [a] -> [[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 -> [a] -> [[a]]Source