A fork of bevy to implement some features for forestia
Go to file
2017-09-24 22:24:23 +02:00
examples Update Rust generate example 2017-09-12 11:11:05 +01:00
libmikktspace CMake: replace -c11 with -c1x for GCC 4.6 2017-09-24 22:24:23 +02:00
src Merge pull request #7 from alteous/cargo-config 2017-09-12 11:14:03 +01:00
.gitignore Add libmikktspace.a to .gitignore 2017-07-09 11:53:43 +01:00
.travis.yml add travis config + readme 2017-08-31 00:00:34 +02:00
build.rs Add closures interface 2017-08-29 19:16:39 +01:00
Cargo.toml Exclude everything in the examples directory 2017-09-12 10:44:39 +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 travis badge in readme 2017-09-12 22:15:54 +02: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.