25 unstable releases (7 breaking)

0.15.0-rc.3 Nov 5, 2024
0.14.2 Sep 6, 2024
0.14.0 Jul 4, 2024
0.13.1 Mar 18, 2024
0.8.0 Jul 30, 2022

#2512 in Game dev

Download history 20529/week @ 2024-07-30 17911/week @ 2024-08-06 22697/week @ 2024-08-13 18637/week @ 2024-08-20 21329/week @ 2024-08-27 22193/week @ 2024-09-03 16110/week @ 2024-09-10 17455/week @ 2024-09-17 18645/week @ 2024-09-24 15694/week @ 2024-10-01 10943/week @ 2024-10-08 14069/week @ 2024-10-15 14175/week @ 2024-10-22 14358/week @ 2024-10-29 13062/week @ 2024-11-05 10170/week @ 2024-11-12

53,795 downloads per month
Used in 775 crates (2 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 maths 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

~4MB
~120K SLoC