//! Collision shapes supported by ncollide. pub use self::ball::Ball; pub use self::plane::Plane; pub use self::cuboid::Cuboid; pub use self::capsule::Capsule; pub use self::cone::Cone; pub use self::cylinder::Cylinder; pub use self::convex::ConvexHull; pub use self::minkowski_sum::{cso_support_point, AnnotatedCSO, AnnotatedMinkowskiSum, AnnotatedPoint, MinkowskiSum, CSO}; pub use self::reflection::Reflection; pub use self::compound::Compound; pub use self::base_mesh::{BaseMesh, BaseMeshElement}; pub use self::trimesh::TriMesh; pub use self::polyline::Polyline; pub use self::segment::Segment; pub use self::triangle::Triangle; pub use self::tetrahedron::Tetrahedron; pub use self::torus::Torus; #[doc(inline)] pub use self::composite_shape::CompositeShape; #[doc(inline)] pub use self::support_map::SupportMap; #[doc(inline)] pub use self::shape::{Shape, ShapeHandle}; use na::{Isometry2, Isometry3, Point2, Point3, Vector2, Vector3}; #[doc(hidden)] pub mod composite_shape; #[doc(hidden)] pub mod support_map; #[doc(hidden)] pub mod shape; mod plane; mod cuboid; mod minkowski_sum; mod segment; mod triangle; mod tetrahedron; mod base_mesh; mod trimesh; mod polyline; mod ball; mod capsule; mod cone; mod cylinder; mod reflection; mod torus; mod compound; mod convex; mod shape_impl; /* * * 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 abstract composite shape."] pub type CompositeShape2 = CompositeShape, Isometry2>; #[doc = "A 2D abstract support mapping."] pub type SupportMap2 = SupportMap, Isometry2>; #[doc = "A 2D dynamic shape."] pub type Shape2 = Shape, Isometry2>; #[doc = "A 2D shared dynamic 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 tetrahedron."] pub type Tetrahedron3 = Tetrahedron>; #[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 abstract composite shape."] pub type CompositeShape3 = CompositeShape, Isometry3>; #[doc = "A 3D abstract support mapping."] pub type SupportMap3 = SupportMap, Isometry3>; #[doc = "A 3D dynamic shape."] pub type Shape3 = Shape, Isometry3>; #[doc = "A 3D shared dynamic shape handle."] pub type ShapeHandle3 = ShapeHandle, Isometry3>;