bevy/crates/bevy_mikktspace
Arkitu 50ad9ef6bc
Some checks failed
Weekly beta compile test / test (macos-latest) (push) Has been cancelled
Weekly beta compile test / test (ubuntu-latest) (push) Has been cancelled
Weekly beta compile test / test (windows-latest) (push) Has been cancelled
Weekly beta compile test / lint (push) Has been cancelled
Weekly beta compile test / check-compiles (push) Has been cancelled
Weekly beta compile test / close-any-open-issues (push) Has been cancelled
Weekly beta compile test / Warn that weekly CI fails (push) Has been cancelled
fix things
2025-07-20 11:54:19 +02:00
..
examples Add print_stdout and print_stderr lints (#17446) (#18233) 2025-03-11 19:35:48 +00:00
src fix things 2025-07-20 11:54:19 +02:00
tests Upgrade to Rust Edition 2024 (#17967) 2025-02-24 03:54:47 +00:00
Cargo.toml chore: Release 2025-05-31 00:18:34 +02:00
LICENSE-APACHE Generate vertex tangents using mikktspace (#3872) 2022-05-31 22:53:54 +00:00
LICENSE-MIT Generate vertex tangents using mikktspace (#3872) 2022-05-31 22:53:54 +00:00
README.md Fix mikkitspace typos (#18218) 2025-03-10 21:53:00 +00:00

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.