#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

#805 in Graphics APIs

Download history 3243/week @ 2024-11-08 1542/week @ 2024-11-15 1087/week @ 2024-11-22 551/week @ 2024-11-29 1030/week @ 2024-12-06 1262/week @ 2024-12-13 676/week @ 2024-12-20 699/week @ 2024-12-27 1657/week @ 2025-01-03 1420/week @ 2025-01-10 1069/week @ 2025-01-17 1529/week @ 2025-01-24 1936/week @ 2025-01-31 1340/week @ 2025-02-07 632/week @ 2025-02-14

4,199 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

~0–305KB