#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

#754 in Graphics APIs

Download history 1608/week @ 2024-07-19 1529/week @ 2024-07-26 1709/week @ 2024-08-02 1487/week @ 2024-08-09 1558/week @ 2024-08-16 2178/week @ 2024-08-23 1357/week @ 2024-08-30 979/week @ 2024-09-06 1985/week @ 2024-09-13 1838/week @ 2024-09-20 2028/week @ 2024-09-27 2616/week @ 2024-10-04 2365/week @ 2024-10-11 2177/week @ 2024-10-18 1778/week @ 2024-10-25 2191/week @ 2024-11-01

9,216 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–280KB