Trait veloren_common::vol::RectSizedVol

source ·
pub trait RectSizedVol: BaseVol {
    // Required methods
    fn lower_bound_xy(&self) -> Vec2<i32>;
    fn upper_bound_xy(&self) -> Vec2<i32>;

    // Provided method
    fn size_xy(&self) -> Vec2<u32> { ... }
}
Expand description

A volume whose cross section with the XY-plane is a rectangle.

Required Methods§

Provided Methods§

source

fn size_xy(&self) -> Vec2<u32>

Implementors§