A fork of bevy to implement some features for forestia
Go to file
2019-01-14 00:21:29 +01:00
examples Update Rust generate example 2017-09-12 11:11:05 +01:00
libmikktspace Build mikktspace using cc instead of cmake 2018-07-18 08:30:46 -05:00
src Merge pull request #7 from alteous/cargo-config 2017-09-12 11:14:03 +01:00
.gitignore Build mikktspace using cc instead of cmake 2018-07-18 08:30:46 -05:00
.travis.yml add travis config + readme 2017-08-31 00:00:34 +02:00
build.rs Fix build.rs to work on Linux 2018-07-19 07:54:37 -05:00
Cargo.toml Version 0.1.1 2018-07-29 13:59:50 +01:00
LICENSE-APACHE Add dual Apache-2.0 / MIT licence 2017-09-06 10:58:04 +01:00
LICENSE-MIT Add dual Apache-2.0 / MIT licence 2017-09-06 10:58:04 +01:00
README.md fix link to blender wiki 2019-01-14 00:21:29 +01:00

mikktspace

crates.io Build Status

Bindings to the Mikkelsen Tangent Space Algorithm reference implementation.

Examples

generate

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

cargo run --example generate

There is also an equivalent C example to check the correctness of the Rust bindings.

cd examples
cmake ../libmikktspace
make
cc generate.c libmikktspace.a -I../libmikktspace -lm -o generate
./generate

License agreement

Licensed under either of

at your option.

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.