pub struct Cuboid {
pub from: [f32; 3],
pub to: [f32; 3],
pub faces: Faces,
pub turns: Vec<Turn>,
}Expand description
One box of a model, in sixteenths of a block: per face (up, down,
north, south, west, east) its texture, already cut to the face’s uv
(None: the box has no such face), and the turns it’s drawn with, in
order (its element’s, then its variant’s).
Fields§
§from: [f32; 3]§to: [f32; 3]§faces: Faces§turns: Vec<Turn>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cuboid
impl RefUnwindSafe for Cuboid
impl Send for Cuboid
impl Sync for Cuboid
impl Unpin for Cuboid
impl UnsafeUnpin for Cuboid
impl UnwindSafe for Cuboid
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