GlomeTrace-0.3: Ray Tracing Library

Safe HaskellSafe-Inferred

Data.Glome.Bound

Synopsis

Documentation

bound_object :: SolidItem t m -> SolidItem t m -> SolidItem t mSource

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.