Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions crates/bevy_mikktspace/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,25 @@
name = "bevy_mikktspace"
version = "0.12.0-dev"
edition = "2021"
authors = ["Benjamin Wasty <[email protected]>", "David Harvey-Macaulay <[email protected]>", "Layl Bongers <[email protected]>"]
authors = [
"Benjamin Wasty <[email protected]>",
"David Harvey-Macaulay <[email protected]>",
"Layl Bongers <[email protected]>",
]
description = "Mikkelsen tangent space algorithm"
documentation = "https://docs.rs/bevy"
homepage = "https://bevyengine.org"
repository = "https://github.com/bevyengine/bevy"
license = "Zlib AND (MIT OR Apache-2.0)"
keywords = ["bevy", "3D", "graphics", "algorithm", "tangent"]
exclude = ["/data", "/generator"]

[dependencies]
glam = "0.24"
bitflags = "2.3"

[dev-dependencies]
bytemuck = { version = "1.13", features = ["derive"] }

[[example]]
name = "generate"
name = "cube_tangents"
4 changes: 2 additions & 2 deletions crates/bevy_mikktspace/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ Requires at least Rust 1.52.1.

## Examples

### generate
### cube_tangents

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

```sh
cargo run --example generate
cargo run --example cube_tangents
```

## License agreement
Expand Down
Binary file added crates/bevy_mikktspace/data/cube.bin
Binary file not shown.
Binary file added crates/bevy_mikktspace/data/suzanne_bad.bin
Binary file not shown.
Loading