#[repr(C)]pub struct ExtentData {
pub pos: Vec3f,
pub extent: Vec3f,
}Expand description
GPU friendly struct containing single entity draw data
Fields§
§pos: Vec3fCentre pos of aabb
extent: Vec3fHalf extent of aabb
Trait Implementations§
Source§impl Clone for ExtentData
impl Clone for ExtentData
Source§fn clone(&self) -> ExtentData
fn clone(&self) -> ExtentData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExtentData
impl RefUnwindSafe for ExtentData
impl Send for ExtentData
impl Sync for ExtentData
impl Unpin for ExtentData
impl UnsafeUnpin for ExtentData
impl UnwindSafe for ExtentData
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