pub struct PlaneModel {
pub normal: Vec3<f32>,
pub d: f32,
}Expand description
Plane model in Hessian form: normal · p + d = 0 with unit normal.
Fields§
§normal: Vec3<f32>Unit-length plane normal.
d: f32Plane offset term.
Implementations§
Trait Implementations§
Source§impl Clone for PlaneModel
impl Clone for PlaneModel
Source§fn clone(&self) -> PlaneModel
fn clone(&self) -> PlaneModel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlaneModel
impl Debug for PlaneModel
Source§impl PartialEq for PlaneModel
impl PartialEq for PlaneModel
impl Copy for PlaneModel
impl StructuralPartialEq for PlaneModel
Auto Trait Implementations§
impl Freeze for PlaneModel
impl RefUnwindSafe for PlaneModel
impl Send for PlaneModel
impl Sync for PlaneModel
impl Unpin for PlaneModel
impl UnsafeUnpin for PlaneModel
impl UnwindSafe for PlaneModel
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