-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from shnewto/xpbd-collider-gen
support xpbd collider gen
- Loading branch information
Showing
8 changed files
with
640 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,36 @@ | ||
[package] | ||
name = "bevy_rapier_collider_gen" | ||
name = "bevy_collider_gen" | ||
# don't manually edit this version unless you're sure you want to circumvent the process documented in RELEASE.md | ||
version = "0.4.0" | ||
version = "0.1.0" | ||
edition = "2021" | ||
homepage = "https://github.com/shnewto/bevy_rapier_collider_gen" | ||
homepage = "https://github.com/shnewto/bevy_collider_gen" | ||
license = "MIT OR Apache-2.0" | ||
repository = "https://github.com/shnewto/bevy_rapier_collider_gen" | ||
repository = "https://github.com/shnewto/bevy_collider_gen" | ||
|
||
description = "a library for generating bevy_rapier2d colliders, for bevy apps, from images with transparency" | ||
description = "a library for generating colliders, for bevy apps, from images with transparency" | ||
keywords = ["bevy", "rapier", "png", "collider", "2d"] | ||
readme = "README.md" | ||
|
||
[features] | ||
default = ["xpbd_2d","rapier2d"] | ||
xpbd_2d = ["dep:bevy_xpbd_2d"] | ||
rapier2d = ["dep:bevy_rapier2d"] | ||
|
||
[dependencies] | ||
bevy = "0.13.0" | ||
bevy_rapier2d = "0.25.0" | ||
bevy_rapier2d = { version = "0.25.0", optional = true } | ||
bevy_xpbd_2d = { version = "0.4.2", optional = true } | ||
|
||
[dev-dependencies] | ||
bevy_prototype_lyon = "0.11.0" | ||
indoc = "2.0.4" | ||
|
||
[[example]] | ||
name = "colliders" | ||
path = "examples/colliders.rs" | ||
name = "xpbd_2d_colliders" | ||
path = "examples/xpbd_2d_colliders.rs" | ||
required-features = ["xpbd_2d"] | ||
|
||
[[example]] | ||
name = "rapier2d_colliders" | ||
path = "examples/rapier2d_colliders.rs" | ||
required-features = ["rapier2d"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.