pub struct Inward {
pub point: Vector3,
pub uv: (Scalar, Scalar),
pub derivatives: (Vector3, Vector3),
pub normal: Vector3,
pub ray: Beside,
}Expand description
Where and how a normal was found pointing in (see Outward::No).
Fields§
§point: Vector3§uv: (Scalar, Scalar)§derivatives: (Vector3, Vector3)(S_u, S_v) there: the parametrization the normal comes from.
normal: Vector3§ray: BesideTrait Implementations§
Auto Trait Implementations§
impl Freeze for Inward
impl RefUnwindSafe for Inward
impl Send for Inward
impl Sync for Inward
impl Unpin for Inward
impl UnsafeUnpin for Inward
impl UnwindSafe for Inward
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