pub struct BakePatch {
pub origin: V3,
pub u: V3,
pub v: V3,
pub n: V3,
}Expand description
Ein ebenes Bake-Feld: Ursprung plus zwei Kantenvektoren; n ist
die Flächenormale (steht auf u und v, muss nicht normiert sein,
wird aber für die Halbkugel benutzt). Die Parametrisierung läuft
über (0,1)² — Texelmittelpunkte bei (i+0.5)/res.
Fields§
§origin: V3§u: V3§v: V3§n: V3Trait Implementations§
impl Copy for BakePatch
impl StructuralPartialEq for BakePatch
Auto Trait Implementations§
impl Freeze for BakePatch
impl RefUnwindSafe for BakePatch
impl Send for BakePatch
impl Sync for BakePatch
impl Unpin for BakePatch
impl UnsafeUnpin for BakePatch
impl UnwindSafe for BakePatch
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