#geometry #glam #simd #bounding #computation #single #normals

geometry_tools

Efficient computation of single precision geometric data

9 releases (5 breaking)

0.6.0 Jul 4, 2024
0.5.0 Feb 19, 2024
0.4.2 Dec 28, 2022
0.4.1 Oct 13, 2022
0.2.0 May 31, 2021

#380 in Hardware support

38 downloads per month
Used in ssbh_data

MIT license

44KB
830 lines

geometry_tools

Latest Version docs.rs

This library provides efficient implementations for calculating normals, tangents, bitangents, and bounding data in Rust. The library depends on glam to utilize SIMD for the vector and matrix math on supported platforms. 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.


lib.rs:

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.

Dependencies

~4.5MB
~135K SLoC