The @math.gl/culling
module provides primitives for implementing frustum culling:
The culling module does not attempt to be a general "physics-based" collision detection library (e.g. it does not handle time-interpolated intersections like a physics library would).
Class | Description |
---|---|
CullingVolume | |
BoundingSphere | |
OrientedBoundingBox | |
Plane |
BoundingSphere
or OrientedBoundingBox
instances.PerspectiveFrustum
instance.Like all non-core math.gl modules, this library can be used without the math.gl core classes.
Array
instances.Array
instances (they may be math.gl Vector3
).Array
and can be used directly as input.This library was initially developed as a fork of the Cesium math library as part of a collaboration between Cesium and Uber to provide framework-independent, portable support for the 3D tiles specification.
This code in was initially forked from Cesium under the Apache 2 License.