#[derive(Debug, Default, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
pub struct ScreenSize3D(pub usize, pub usize);
impl ScreenSize3D {
#[inline(always)]
pub fn new(w: usize, h: usize) -> ScreenSize3D {
ScreenSize3D(w, h)
}
#[inline(always)]
pub fn width(&self) -> usize {
self.0
}
#[inline(always)]
pub fn height(&self) -> usize {
self.1
}
}