//! Collision shapes supported by ncollide. #[doc(inline)] pub use shape::ball::Ball; pub use shape::plane::Plane; pub use shape::cuboid::Cuboid; pub use shape::capsule::Capsule; pub use shape::cone::Cone; pub use shape::cylinder::Cylinder; pub use shape::convex::ConvexHull; pub use shape::minkowski_sum::{MinkowskiSum, AnnotatedMinkowskiSum, AnnotatedPoint}; pub use shape::reflection::Reflection; pub use shape::compound::Compound; pub use shape::base_mesh::{BaseMesh, BaseMeshElement}; pub use shape::trimesh::TriMesh; pub use shape::polyline::Polyline; pub use shape::segment::Segment; pub use shape::triangle::Triangle; pub use shape::torus::Torus; pub use shape::composite_shape::CompositeShape; pub use shape::shape::ShapeHandle; use na::{Point2, Point3, Vector2, Vector3, Isometry2, Isometry3}; mod plane; mod cuboid; mod minkowski_sum; mod segment; mod triangle; mod base_mesh; mod trimesh; mod polyline; mod ball; mod capsule; mod cone; mod cylinder; mod reflection; mod torus; mod compound; mod convex; mod composite_shape; mod shape; /* * * Aliases. * */ #[doc = "A 2D ball."] pub type Ball2 = Ball; #[doc = "A 2D plane."] pub type Plane2 = Plane>; #[doc = "A 2D cuboid."] pub type Cuboid2 = Cuboid>; #[doc = "A 2D capsule."] pub type Capsule2 = Capsule; #[doc = "A 2D cone."] pub type Cone2 = Cone; #[doc = "A 2D cylinder."] pub type Cylinder2 = Cylinder; #[doc = "A 2D convex polytope."] pub type ConvexHull2 = ConvexHull>; #[doc = "A 2D segment."] pub type Segment2 = Segment>; #[doc = "A 2D triangle."] pub type Triangle2 = Triangle>; #[doc = "A 2D polyline."] pub type Polyline2 = Polyline>; #[doc = "A 2D compound shape."] pub type Compound2 = Compound, Isometry2>; #[doc = "A 2D shared shape handle."] pub type ShapeHandle2 = ShapeHandle, Isometry2>; #[doc = "A 3D ball."] pub type Ball3 = Ball; #[doc = "A 3D plane."] pub type Plane3 = Plane>; #[doc = "A 3D cuboid."] pub type Cuboid3 = Cuboid>; #[doc = "A 3D capsule."] pub type Capsule3 = Capsule; #[doc = "A 3D cone."] pub type Cone3 = Cone; #[doc = "A 3D cylinder."] pub type Cylinder3 = Cylinder; #[doc = "A 3D convex polytope."] pub type ConvexHull3 = ConvexHull>; #[doc = "A 3D segment."] pub type Segment3 = Segment>; #[doc = "A 3D triangle."] pub type Triangle3 = Triangle>; #[doc = "A 3D polyline."] pub type Polyline3 = Polyline>; #[doc = "A 3D triangle mesh."] pub type TriMesh3 = TriMesh>; #[doc = "A 3D compound shape."] pub type Compound3 = Compound, Isometry3>; #[doc = "A 3D shared shape handle."] pub type ShapeHandle3 = ShapeHandle, Isometry3>;