GlomeTrace-0.1.1: Ray Tracing Library

Data.Glome.Bound

Synopsis

Documentation

bound_object :: SolidItem -> SolidItem -> SolidItemSource

Use the first object as a bounding volume for the second object. If a ray misses the first object, it is assumed to miss the second object. Used primarily to improve performance. In general, bih will usually perform better than manually-constructed bounds, though.