pub struct PropCtx<'a> {
pub num_prop: [usize; 2],
pub tris: [&'a [[Vec3; 3]]; 2],
pub props: [&'a [f64]; 2],
}Expand description
Per-operand property data for interpolation. props[m] is flattened as
props[m][(3*tri + corner) * num_prop[m] + channel], aligned with the
operand’s soup triangle order (the Piece::tri indexing).
Fields§
§num_prop: [usize; 2]§tris: [&'a [[Vec3; 3]]; 2]§props: [&'a [f64]; 2]Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PropCtx<'a>
impl<'a> RefUnwindSafe for PropCtx<'a>
impl<'a> Send for PropCtx<'a>
impl<'a> Sync for PropCtx<'a>
impl<'a> Unpin for PropCtx<'a>
impl<'a> UnsafeUnpin for PropCtx<'a>
impl<'a> UnwindSafe for PropCtx<'a>
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