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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#![warn(missing_docs, rust_2018_idioms, rust_2018_compatibility)]
pub use approx;
pub use nalgebra;
pub use shred;
pub use shrev;
pub use specs;
#[macro_use]
extern crate error_chain;
use rayon;
#[macro_use]
extern crate serde;
#[macro_use]
#[cfg(feature = "profiler")]
extern crate thread_profiler;
#[cfg(all(target_os = "emscripten", not(no_threading)))]
compile_error!("the cfg flag \"no_threading\" is required when building for emscripten");
use std::sync::Arc;
pub use crate::{
bundle::{Error, ErrorKind, Result, SystemBundle},
event::EventReader,
system_ext::{Pausable, SystemExt},
timing::*,
transform::*,
};
pub use self::{
axis::{Axis2, Axis3},
named::{Named, WithNamed},
};
mod axis;
pub mod bundle;
mod event;
pub mod frame_limiter;
mod named;
mod system_ext;
pub mod timing;
pub mod transform;
pub type ArcThreadPool = Arc<rayon::ThreadPool>;