enum SprKind {
Face {
sx0: f32,
sx1: f32,
depth: f32,
},
Wall {
ax: f64,
ay: f64,
bx: f64,
by: f64,
sx0: f32,
sx1: f32,
},
Floor {
sx0: f32,
sx1: f32,
ry0: f32,
ry1: f32,
cos: f64,
sin: f64,
hw: f64,
hh: f64,
},
Voxel {
id: u32,
sx0: f32,
sx1: f32,
y0: f32,
y1: f32,
tmin: f32,
w: (f64, f64),
f: (f64, f64),
unit: f64,
zunit: f64,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SprKind
impl RefUnwindSafe for SprKind
impl Send for SprKind
impl Sync for SprKind
impl Unpin for SprKind
impl UnsafeUnpin for SprKind
impl UnwindSafe for SprKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more