rsagl-0.4.0.2: The RogueStar Animation and Graphics Library

Safe HaskellSafe-Infered

RSAGL.Modeling.Tesselation

Synopsis

Documentation

tesselatedSurfaceToVertexCloud :: TesselatedSurface a -> [a]Source

Generates a list of all vertices in a TesselatedSurface. There will be duplicate entries.

tesselateSurface :: Surface a -> (Integer, Integer) -> TesselatedSurface aSource

Tesselate a surface into a u-by-v grid of triangles.

tesselateGrid :: [[(RSdouble, a)]] -> TesselatedSurface aSource

Tesselate polylines of possibly differing number of elements.