#glam #geometry #simd #computation #single #performance #game-assets

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

#4 in #glam

Download history 21/week @ 2024-03-27 31/week @ 2024-04-03 4/week @ 2024-04-24 1/week @ 2024-05-08 1/week @ 2024-05-15 2/week @ 2024-05-29 4/week @ 2024-06-05 1/week @ 2024-06-12 125/week @ 2024-07-03 4/week @ 2024-07-10

129 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

~3.5MB
~106K SLoC