Crate geometry_tools

Source
Expand description

Efficient implementations for calculating geometry data for game assets using glam.

Most functions support any type that can be converted into glam::Vec3A. This allows glam::Vec3A and glam::Vec4 to have identical performance. Using glam::Vec3 will have slightly reduced performance due to conversions to aligned types.

Re-exports§

pub use glam;

Modules§

bounding
Functions for calculating bounding spheres and axis-aligned bounding boxes.
ffi
Combined ffi functions from all modules.
vectors
Functions for computing normal, tangent, and bitangent (binormal) vectors.