/mikktspace-sys

Rust MikkTSpace C library wrapper

Primary LanguageCMIT LicenseMIT

mikktspace-sys

crates.io

Wrapper around the original C reference implementation (Mikkelsen Tangent Space Algorithm).

The reason for this crate is that for practical applications the output must match the C reference implementation exactly. The Rust mikktspace crate is probably producing identical output in all cases, but I didn't want to take any chances.

Examples

generate

Demonstrates generating tangents for a cube with 4 triangular faces per side.

cargo run --example generate

License agreement