//! Procedural mesh generation. #![deny(non_camel_case_types)] #![deny(unused_parens)] #![deny(non_upper_case_globals)] #![deny(unused_qualifications)] #![deny(missing_docs)] #![deny(unused_results)] #![warn(unused_imports)] #![allow(missing_copy_implementations)] // FIXME: deny this. #![doc(html_root_url = "http://ncollide.org/rustdoc")] extern crate alga; extern crate nalgebra as na; extern crate ncollide_math as math; extern crate ncollide_utils; extern crate num_traits as num; pub use trimesh::{IndexBuffer, TriMesh}; pub use polyline::Polyline; pub use bezier::{bezier_curve, bezier_curve_at, bezier_surface, bezier_surface_at}; pub use capsule::capsule; pub use cone::{cone, unit_cone}; pub use cuboid::{cuboid, rectangle, unit_cuboid, unit_rectangle}; pub use cylinder::{cylinder, unit_cylinder}; pub use quad::{quad, quad_with_vertices, unit_quad}; pub use sphere::{circle, sphere, unit_circle, unit_hemisphere, unit_sphere}; use na::{Point2, Point3}; pub mod utils; pub mod path; mod trimesh; mod polyline; mod sphere; mod capsule; mod cone; mod cuboid; mod cylinder; mod quad; mod bezier; /// A 3D triangle mesh. pub type TriMesh3 = TriMesh>; /// A 3D polyline. pub type Polyline3 = Polyline>; /// A 2D triangle mesh. pub type TriMesh2 = TriMesh>; /// A 2D polyline. pub type Polyline2 = Polyline>;