14 unstable releases (5 breaking)

0.13.1 Mar 18, 2024
0.12.1 Nov 30, 2023
0.11.0 Jul 9, 2023
0.10.1 Mar 31, 2023
0.8.0 Jul 30, 2022

#2151 in Game dev

Download history 9668/week @ 2023-12-07 8099/week @ 2023-12-14 7133/week @ 2023-12-21 7976/week @ 2023-12-28 7094/week @ 2024-01-04 8943/week @ 2024-01-11 9312/week @ 2024-01-18 7451/week @ 2024-01-25 6341/week @ 2024-02-01 7093/week @ 2024-02-08 12853/week @ 2024-02-15 10756/week @ 2024-02-22 11014/week @ 2024-02-29 10362/week @ 2024-03-07 9891/week @ 2024-03-14 11443/week @ 2024-03-21

44,223 downloads per month
Used in 569 crates (2 directly)

Zlib AND (MIT OR Apache-2.0)

72KB
1.5K 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.52.1.

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

~2.5MB
~85K SLoC