#hlsl #shader #glsl #gamedev

shadermath

HLSL inspired mathematics library for Rust

7 releases (breaking)

new 0.6.0 Jan 13, 2025
0.5.0 Jan 13, 2025
0.4.0 Jan 12, 2025
0.3.0 Jan 12, 2025
0.1.0 Jan 12, 2025

#314 in Math

Download history 401/week @ 2025-01-08

401 downloads per month

MIT license

220KB
7.5K SLoC

HLSL inspired mathematics for Rust.

This crate brings HLSL mathematics to Rust.

Please note that this crate is an active work in progress.

Float2 and Float3 and Float4 are ready to be used.

Installation Instructions:

Add the following line to your Cargo.toml:

[dependencies]
shadermath = "0.6"

Support:

Feel free to join my Discord server and let's talk about it.

If you found this crate useful, please consider making a donation or supporting me on Patreon. Your donations are a tremendous encouragement for the continued development and support of this crate. 😁

Support me on Patreon

Support me on Ko-fi

paypal

No runtime deps