collada-types-0.2: Data exchange between graphic applications

Graphics.Formats.Collada.Transformations

Synopsis

type V = (Float, Float, Float)Source

extrude :: V -> Geometry -> GeometrySource

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

atop :: Geometry -> Geometry -> GeometrySource

translate :: (Float, Float, Float) -> Geometry -> GeometrySource

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