collada-types-0.3: Data exchange between graphic applications

Graphics.Formats.Collada.Transformations

Synopsis

Documentation

extrude :: V3 -> Geometry -> GeometrySource

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