Module gfx_voxel::cube
[−]
[src]
Helper methods and structures for working with cubes.
3 --------- 2 / / | / up / | 6 -------- 7 | 1 | | / west | south | / east | |/ 5 -------- 4
7 --------- 6 / / | / up / | 2 -------- 3 | 5 | | / east | north | / west | |/ 1 -------- 0
Reexports
pub use self::Face::Down; |
pub use self::Face::Up; |
pub use self::Face::North; |
pub use self::Face::South; |
pub use self::Face::West; |
pub use self::Face::East; |
Structs
FaceIterator |
Iterates through each face on a cube. |
ParseError |
The error parsing face from string. |
Enums
Face |
A value representing face direction. |
Constants
QUADS |
Cube faces (clockwise). |
VERTICES |
Cube vertices. |
Type Definitions
Vector3 |
A 3D vector. |