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
#[macro_use]
pub extern crate cgmath;
pub extern crate shred;
pub extern crate shrev;
pub extern crate specs;
#[macro_use]
extern crate error_chain;
extern crate fnv;
extern crate hibitset;
#[macro_use]
extern crate log;
extern crate rayon;
#[macro_use]
extern crate serde;
extern crate specs_hierarchy;
#[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");
pub use bundle::{Error, ErrorKind, Result, SystemBundle};
pub use orientation::Orientation;
pub use timing::*;
pub use transform::*;
use std::sync::Arc;
pub mod bundle;
pub mod frame_limiter;
mod orientation;
pub mod timing;
pub mod transform;
pub type ThreadPool = Arc<rayon::ThreadPool>;