Crate treeculler

Source
Expand description

Utilities to use for frustum culling. Comes with AABB and Sphere culling.

For #![no_std], this crate provides a libm feature (used in num-traits and vek). Disabling default features and enabling the libm feature will make the crate build on #![no_std].

Implemented thanks to these posts:

Re-exports§

pub use bvol::dist_bpp;
pub use bvol::mi_vertex;
pub use bvol::mo_vertex;
pub use bvol::BVol;
pub use bvol::BoundingSphere;
pub use bvol::AABB;
pub use frustum::intersect_planes;
pub use frustum::normalize_plane;
pub use frustum::Frustum;

Modules§

bvol
Bounding volumes. Includes the trait, implementations for AABB and Sphere.
frustum
A view frustum.

Structs§

Vec3
Vector type suited for 3D spatial coordinates.
Vec4
Vector type suited for homogeneous 3D spatial coordinates.

Traits§

Float
Generic trait for floating point numbers