1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
#![cfg_attr(docsrs, feature(doc_cfg))]
//#![warn(clippy::all)]
//#![warn(missing_docs)]
//!
//! A 3D renderer which enables out-of-the-box build to both desktop and web with the same code.
//! See the [README](https://crates.io/crates/three-d) for more information and
//! the [examples](https://github.com/asny/three-d/tree/master/examples) for how to use it.
//!
pub mod context;
pub mod core;
pub mod renderer;
pub use renderer::*;
pub mod window;
pub use window::*;
pub mod io;
pub use io::*;
mod gui;
#[doc(inline)]
pub use gui::*;
pub type ThreeDResult<T> = std::result::Result<T, Box<dyn std::error::Error>>;