26 releases

0.15.0 Nov 29, 2024
0.15.0-rc.2 Oct 27, 2024
0.14.0 Jul 4, 2024
0.13.1 Mar 18, 2024
0.8.0 Jul 30, 2022

#2104 in Game dev

Download history 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 13048/week @ 2024-11-05 10222/week @ 2024-11-12 12082/week @ 2024-11-19 19770/week @ 2024-11-26 17494/week @ 2024-12-03

60,787 downloads per month
Used in 787 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