fennel_physics/lib.rs
1//! # fennel-physics
2//! A physics engine library for the Fennel game engine
3//!
4//! # Cargo features
5//! `specs`: Provide specs' components implementations for most of the types
6#![forbid(unsafe_code)]
7
8/// Module providing two-dimensional physics code
9pub mod shapes_2d;
10/// Module providing physical world implementation
11pub mod world;
12/// Module providing basic body traits
13pub mod body;
14/// Module providing gravity functionality
15pub mod gravity;
16/// Module providing collision detection by leveraging the AABB concept
17pub mod aabb;
18#[cfg(test)]
19mod tests;