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§

Modules§

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