Skip to content
Closed
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
10 changes: 7 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,13 @@
//! arguments like so:
//!
//! ```
//! use amethyst_core::Transform;
//! use specs_physics::systems::SyncBodiesToPhysicsSystem;
//! SyncBodiesToPhysicsSystem::<f32, Transform>::default();
//! // This code will only compile if the amethyst feature is enabled
//! #[cfg(amethyst)]
//! {
//! use amethyst_core::Transform;
//! use specs_physics::systems::SyncBodiesToPhysicsSystem;
//! SyncBodiesToPhysicsSystem::<f32, Transform>::default();
//! }
//! ```
//!
//! Alternatively to building your own `Dispatcher`, you can always fall back on
Expand Down