| ||||||||||||||
| ||||||||||||||
Description | ||||||||||||||
This module provides an axis aligned bounding box based on Data.Vecs. | ||||||||||||||
Synopsis | ||||||||||||||
| ||||||||||||||
Documentation | ||||||||||||||
| ||||||||||||||
| ||||||||||||||
| ||||||||||||||
Transforms an 'AABB* using a 4x4 matrix. Note that this may grow the AABB and is not associative with matrix multiplication, i.e. (m2 `multmm` m1) `aabbTransform` aabb is usually not the same as m2 `aabbTransform` (m1 `aabbTransform` aabb) (The former is preferred as it minimizes the growing of the AABB). | ||||||||||||||
| ||||||||||||||
Try if an AABB is inside a projection frustum. The AABB must be defined in the same vector space as the matrix, e.g. use the model-view-projection matrix for model-local aabb's. | ||||||||||||||
| ||||||||||||||
| ||||||||||||||
Produced by Haddock version 2.7.2 |