urath 0.1.0

High-performance voxel meshing algorithms
Documentation
1
2
3
4
5
6
7
8
9
10
use thiserror::Error;

#[derive(Debug, Error)]
pub enum MeshError {
    #[error("chunk size {0} exceeds maximum {1}")]
    ChunkTooLarge(usize, usize),

    #[error("coordinates ({0}, {1}, {2}) out of bounds for chunk of size {3}")]
    OutOfBounds(usize, usize, usize, usize),
}