1pub use collide2d::*;
4pub use core::physics2d::*;
5pub use physics::setup_dispatch_2d;
6
7use cgmath::{Basis2, Point2, Vector2};
8use collision::primitive::Primitive2;
9use collision::Aabb2;
10
11use physics::{
12 ContactResolutionSystem, CurrentFrameUpdateSystem, DeltaTime, NextFrameSetupSystem,
13 PhysicalEntityParts,
14};
15
16pub type CurrentFrameUpdateSystem2<S, T> = CurrentFrameUpdateSystem<Point2<S>, Basis2<S>, S, T>;
23
24pub type ContactResolutionSystem2<S, T> = ContactResolutionSystem<Point2<S>, Basis2<S>, S, S, S, T>;
31
32pub type NextFrameSetupSystem2<S, T> =
39 NextFrameSetupSystem<Point2<S>, Basis2<S>, S, S, T, DeltaTime<S>>;
40
41pub type PhysicalEntityParts2<'a, S, T, Y> =
49 PhysicalEntityParts<'a, Primitive2<S>, Y, Basis2<S>, Vector2<S>, S, S, Aabb2<S>, T>;