#tangent #algorithm #3d #graphics

sys mikktspace-sys

Mikkelsen tangent space algorithm (C wrapper)

2 releases

0.1.1 Apr 21, 2023
0.1.0 Apr 21, 2023

#753 in Graphics APIs

Download history 698/week @ 2024-01-03 732/week @ 2024-01-10 814/week @ 2024-01-17 794/week @ 2024-01-24 921/week @ 2024-01-31 892/week @ 2024-02-07 628/week @ 2024-02-14 822/week @ 2024-02-21 746/week @ 2024-02-28 998/week @ 2024-03-06 910/week @ 2024-03-13 670/week @ 2024-03-20 954/week @ 2024-03-27 1181/week @ 2024-04-03 1028/week @ 2024-04-10 709/week @ 2024-04-17

4,007 downloads per month

MIT license

69KB
1.5K SLoC

C 1.5K SLoC // 0.1% comments Rust 210 SLoC

mikktspace-sys

crates.io

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

Examples

generate

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

cargo run --example generate

License agreement

No runtime deps

~175KB