30 releases

Uses new Rust 2024

new 0.16.0-rc.1 Mar 18, 2025
0.15.1 Jan 3, 2025
0.15.0 Nov 29, 2024
0.14.0 Jul 4, 2024
0.8.0 Jul 30, 2022

#2717 in Game dev

Download history 23037/week @ 2024-11-29 17973/week @ 2024-12-06 18875/week @ 2024-12-13 13285/week @ 2024-12-20 9453/week @ 2024-12-27 18056/week @ 2025-01-03 25254/week @ 2025-01-10 19984/week @ 2025-01-17 16081/week @ 2025-01-24 20365/week @ 2025-01-31 24535/week @ 2025-02-07 16452/week @ 2025-02-14 23518/week @ 2025-02-21 21093/week @ 2025-02-28 20237/week @ 2025-03-07 21148/week @ 2025-03-14

87,720 downloads per month
Used in 844 crates (3 directly)

Zlib AND (MIT OR Apache-2.0)

75KB
2K SLoC

Bevy Mikktspace

License Crates.io Downloads Docs Discord

This is a fork of https://github.com/gltf-rs/mikktspace, which in turn is a port of the Mikkelsen Tangent Space Algorithm reference implementation to Rust. It has been forked for use in the bevy game engine to be able to update math crate dependencies in lock-step with bevy releases. It is vendored in the bevy repository itself as crates/bevy_mikktspace.

Port of the Mikkelsen Tangent Space Algorithm reference implementation.

Requires at least Rust 1.76.0.

Examples

generate

Demonstrates generating tangents for a cube with 4 triangular faces per side.

cargo run --example generate

License agreement

Licensed under either of

at your option. AND parts of the code are licensed under:

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~4.5MB
~146K SLoC