pub struct Surfel {
pub position: Vec3<f32>,
pub normal: Vec3<f32>,
pub radius: f32,
}Expand description
One oriented disc surfel.
Fields§
§position: Vec3<f32>Center.
normal: Vec3<f32>Unit normal.
radius: f32Disc radius.
Trait Implementations§
impl Copy for Surfel
impl StructuralPartialEq for Surfel
Auto Trait Implementations§
impl Freeze for Surfel
impl RefUnwindSafe for Surfel
impl Send for Surfel
impl Sync for Surfel
impl Unpin for Surfel
impl UnsafeUnpin for Surfel
impl UnwindSafe for Surfel
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