Skip to content
Open
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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.obj binary
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
*.iml
Cargo.lock
target
60 changes: 25 additions & 35 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "specs-physics"
version = "0.3.0"
version = "0.4.0"
authors = ["Benjamin Amling <benjamin@amling.net>", "Kel <x@unclear.info>", "jojolepro <jojolepromain@gmail.com>"]
repository = "https://github.com/amethyst/specs-physics.git"
homepage = "https://github.com/amethyst/specs-physics.git"
Expand All @@ -9,47 +9,37 @@ edition = "2018"
license = "MIT"
readme = "README.md"
documentation = "https://docs.rs/specs-physics"
description = "nphysics integration for the Specs entity component system"

keywords = ["specs", "nphysics", "nphysics3d"]
description = "Integration with nphysics for the SPECS Parallel ECS."
keywords = ["specs", "physics", "real-time"]

[features]
default = []

amethyst = ["amethyst_core"]
dim3 = ["ncollide3d", "nphysics3d"]
dim2 = ["ncollide2d", "nphysics2d"]
nightly = ["specs/nightly"]

[dependencies]
log = "0.4.6"
specs = "0.15.0"
specs-hierarchy = { git = "https://github.com/cedric-h/specs-hierarchy.git", branch = "update-specs" }
shrev = "1.1.1"
nalgebra = "0.18.0"
ncollide3d = "0.19"
nphysics3d = "0.11.1"
amethyst_core = { git = "https://github.com/amethyst/amethyst", optional = true }
objekt = "0.1.2"

[dev-dependencies]
simple_logger = "1.2.0"
approx = "0.3.2"

[[example]]
name = "basic"
path = "examples/basic.rs"
log = "0.4"
objekt = "0.1"
shrinkwraprs = "0.2"

[[example]]
name = "hierarchy"
path = "examples/hierarchy.rs"
specs = "0.15"
specs-hierarchy = "0.5"
nalgebra = "0.19"

[[example]]
name = "positions"
path = "examples/positions.rs"
ncollide2d = { version = "0.21", optional = true }
ncollide3d = { version = "0.21", optional = true }

[[example]]
name = "collision"
path = "examples/collision.rs"
nphysics2d = { version = "0.13", optional = true }
nphysics3d = { version = "0.13", optional = true }

[[example]]
name = "events"
path = "examples/events.rs"
[dependencies.amethyst]
git = "https://github.com/amethyst/amethyst"
optional = true
default-features = false
features = ["vulkan"]

[dev-dependencies]
simple_logger = "1.3"
approx = "0.3"
serde = { version = "1.0", features = ["derive"] }
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Benjamin Amling
Copyright (c) 2019 Amethyst Developers

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading