2 releases

Uses new Rust 2021

0.8.1 Aug 23, 2022
0.8.0 Jul 30, 2022

#179 in Game dev

Download history 3047/week @ 2022-07-27 3865/week @ 2022-08-03 3930/week @ 2022-08-10 5801/week @ 2022-08-17 7513/week @ 2022-08-24 4280/week @ 2022-08-31 4290/week @ 2022-09-07 3827/week @ 2022-09-14 3851/week @ 2022-09-21 4415/week @ 2022-09-28

16,946 downloads per month
Used in 191 crates (via bevy_render)

Zlib AND (MIT OR Apache-2.0)

70KB
1.5K SLoC

bevy_mikktspace

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

~1.5MB
~49K SLoC