pub struct GatherPoint {
pub pos: V3,
pub n: V3,
pub self_prim: u32,
}Expand description
Ein Oberflächenpunkt für den GI-Sammel-Lauf: Position (bereits vom
Aufrufer von der Oberfläche abgerückt), Normale und der Primitiv-Index,
als dessen eigene Fläche der Punkt gilt (u32::MAX = keinem).
Fields§
§pos: V3§n: V3§self_prim: u32Trait Implementations§
Source§impl Clone for GatherPoint
impl Clone for GatherPoint
Source§fn clone(&self) -> GatherPoint
fn clone(&self) -> GatherPoint
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 moreimpl Copy for GatherPoint
Source§impl Debug for GatherPoint
impl Debug for GatherPoint
Source§impl PartialEq for GatherPoint
impl PartialEq for GatherPoint
Source§fn eq(&self, other: &GatherPoint) -> bool
fn eq(&self, other: &GatherPoint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GatherPoint
Auto Trait Implementations§
impl Freeze for GatherPoint
impl RefUnwindSafe for GatherPoint
impl Send for GatherPoint
impl Sync for GatherPoint
impl Unpin for GatherPoint
impl UnsafeUnpin for GatherPoint
impl UnwindSafe for GatherPoint
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