Trait veloren_common::vol::RasterableVol

source ·
pub trait RasterableVol: BaseVol {
    const SIZE: Vec3<u32>;
}
Expand description

A volume that is compile-time sized and has its lower bound at (0, 0, 0). The name RasterableVol was chosen because such a volume can be used with VolGrid3d.

Required Associated Constants§

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<V, S: VolSize, M> RasterableVol for Chunk<V, S, M>

source§

const SIZE: Vec3<u32> = S::SIZE