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
//! 3D and 2D Game Engine.

#![allow(clippy::too_many_arguments)]
#![allow(clippy::upper_case_acronyms)]
#![allow(clippy::from_over_into)]

extern crate bitflags;
extern crate ddsfile;
extern crate glow;
#[cfg(not(target_arch = "wasm32"))]
extern crate glutin;
extern crate image;
extern crate inflate;
extern crate lexical;
extern crate rayon;
#[cfg(feature = "serde_integration")]
extern crate serde;

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

#[cfg(test)]
extern crate imageproc;

pub mod animation;
pub mod engine;
pub mod renderer;
pub mod resource;
pub mod scene;
pub mod scene2d;
pub mod utils;

pub use crate::core::rand;
#[cfg(not(target_arch = "wasm32"))]
pub use glutin::*;
pub use lazy_static;
pub use tbc;
#[cfg(target_arch = "wasm32")]
pub use winit::*;

pub use rapier3d as physics;
pub use rg3d_core as core;
pub use rg3d_sound as sound;
pub use rg3d_ui as gui;