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
#![recursion_limit = "128"]

#![allow(non_upper_case_globals)]

extern crate uuid;
extern crate rand;
extern crate image;
extern crate octoon_math as math;

#[cfg(not(target_arch = "wasm32"))] 
extern crate gl;

#[cfg(not(target_arch = "wasm32"))] 
extern crate glfw;

#[macro_use]
#[cfg(all(target_arch = "wasm32"))]
extern crate stdweb;

#[macro_use]
#[cfg(all(target_arch = "wasm32"))]
extern crate serde_derive;

#[macro_use]
#[cfg(all(target_arch = "wasm32"))]
extern crate stdweb_derive;

pub mod core;
pub mod spectrum;
pub mod cameras;
pub mod geometries;
pub mod lights;
pub mod shapes;
pub mod materials;
pub mod scene;
pub mod renderer;
pub mod webgl;
pub mod window;
pub mod util;
pub mod error;