scenegraph-0.2.0.1: Scene Graph
Safe HaskellNone
LanguageHaskell2010

Graphics.SceneGraph.BoundingBox

Synopsis

Documentation

type Box a = (V3 a, V3 a) Source #

A box. Used for calculating bounds

boxSize :: Box Float -> V3 Float Source #

Return the diagonal vector across the box corners.

smallBox :: Box Float Source #

Bounds suitable for starting off with

union :: Box Float -> Box Float -> Box Float Source #

Create union of two boxes

boundsSceneNode :: SceneGraph g -> SceneNode g -> Box Float Source #

Determine bounds of a SceneNode