pub struct Quad {
pub pos: [Vec3; 4],
pub uv: [[f32; 2]; 4],
pub normal: Vec3,
}Expand description
One four-cornered face: corners, their UVs (0–1), its normal.
Fields§
§pos: [Vec3; 4]§uv: [[f32; 2]; 4]§normal: Vec3Implementations§
Trait Implementations§
impl Copy for Quad
impl StructuralPartialEq for Quad
Auto Trait Implementations§
impl Freeze for Quad
impl RefUnwindSafe for Quad
impl Send for Quad
impl Sync for Quad
impl Unpin for Quad
impl UnsafeUnpin for Quad
impl UnwindSafe for Quad
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