mecha-0.0.0: A constructive solid modeling language.
Language.Mecha.Octree
data Octree Source
Constructors
Fields
Instances
type Vertex = (Double, Double, Double)Source
type Color = (Float, Float, Float)Source
sphere :: Color -> Double -> OctreeSource
mesh :: Octree -> IO ()Source
union :: Octree -> Octree -> OctreeSource
intersection :: Octree -> Octree -> OctreeSource
difference :: Octree -> Octree -> OctreeSource