bevy_mikktspace

Crates.iobevy_mikktspace
lib.rsbevy_mikktspace
version0.15.0-rc.3
sourcesrc
created_at2022-07-30 14:45:44.105543
updated_at2024-11-05 22:37:10.278326
descriptionMikkelsen tangent space algorithm
homepagehttps://bevyengine.org
repositoryhttps://github.com/bevyengine/bevy
max_upload_size
id635550
size119,048
publish (github:bevyengine:publish)

documentation

https://docs.rs/bevy

README

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.

Commit count: 7565

cargo fmt