-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b49ae0
commit ca8bf6b
Showing
5 changed files
with
138 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
// Terrain has two binary formats, being the material colors and smooth grid blobs. | ||
// The smooth grid spec can be found here: https://github.com/rojo-rbx/rbx-dom/blob/terrain/docs/smooth-grid.md | ||
// The material colors spec can be found here: https://github.com/rojo-rbx/rbx-dom/blob/master/docs/binary-strings.md#materialcolors | ||
|
||
mod material_colors; | ||
mod smooth_grid; | ||
|
||
pub use self::material_colors::*; | ||
pub use self::smooth_grid::*; | ||
|
||
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Clone, Copy)] | ||
pub enum TerrainMaterials { | ||
Air, | ||
Water, | ||
Grass, | ||
Slate, | ||
Concrete, | ||
Brick, | ||
Sand, | ||
WoodPlanks, | ||
Rock, | ||
Glacier, | ||
Snow, | ||
Sandstone, | ||
Mud, | ||
Basalt, | ||
Ground, | ||
CrackedLava, | ||
Asphalt, | ||
Cobblestone, | ||
Ice, | ||
LeafyGrass, | ||
Salt, | ||
Limestone, | ||
Pavement, | ||
} |
Oops, something went wrong.