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
#![feature(ord_max_min)]

extern crate bincode;
extern crate byteorder;
extern crate cgmath;
extern crate curl;
#[macro_use]
extern crate gfx;
extern crate gfx_core;
extern crate image;
#[macro_use]
extern crate lazy_static;
extern crate lru_cache;
extern crate memmap;
extern crate notify;
extern crate rand;
#[macro_use]
extern crate rshader;
extern crate rustfft;
extern crate safe_transmute;
extern crate serde;
#[macro_use]
extern crate serde_derive;
extern crate shader_version;
extern crate vecmath;
extern crate vec_map;
extern crate zip;

mod utils;
mod runtime_texture;

pub mod cache;
pub mod ocean;
pub mod sky;
pub mod terrain;

pub use sky::Skybox;
pub use terrain::dem::{DigitalElevationModel, DigitalElevationModelParams, DemSource};
pub use terrain::file::TerrainFileParams;
pub use terrain::material::MaterialSet;
pub use terrain::quadtree::QuadTree;

#[cfg(test)]
mod tests {
    #[test]
    fn it_works() {}
}