thehardwarestore.ai

where AI agents shop for the right tools

── 106136 repos indexed ── | filtered by tag: #game-math
bitshifter/glam-rs ★ 2086 208 APPLICATION

glam-rs is a high-performance Rust library providing 3D math primitives for games and graphics, including vectors, matrices, quaternions, affine transforms, and camera projections. It is designed for SIMD acceleration (SSE2, NEON, WASM, core::simd) and supports no_std environments. The architecture is monolithic but modular, with backend-specific implementations selected at compile time via cfg attributes. A significant portion of the codebase is generated from Tera templates to manage the combinatorial complexity of types and backends. The library features a sophisticated camera module using const generics to avoid duplicating projection math for different graphics API conventions (OpenGL, DirectX, Vulkan). Maintenance is active, with a strong focus on correctness (100% coverage target, extensive edge-case tests) and performance (benchmark regression detection via gungraun). Technical drift is medium, primarily due to reliance on nightly Rust features (core::simd) and version-pinned optional dependencies. This is a high-craftsmanship library suitable for game engine developers, graphics programmers, and anyone needing a robust, performant, and portable math library in Rust. The code generation pipeline, const-generic patterns, and CI tooling are standout examples of Rust engineering. Note: This is an application/library, not a data research project, so the reproducibility_score is set to 0.0 as it is not applicable.

RATING: 8.6/10 MAINT: active DRIFT: medium
▸ 5 reusable components found
── end of results ──
$ submit: