pub struct PartDeformFrame {
pub indices: Vec<i16>,
pub dx: Vec<f32>,
pub dy: Vec<f32>,
}Expand description
Per-frame mesh deform for one part, retained from Phase 1’s evaluate_deform
so the Phase 2 mesh-vertex pass can consume it. indices selects which mesh
vertices are deformed; dx/dy are the matching SoA deltas in part-local
space (Y-down flip already applied). All three empty when the part has no
deform this frame.
Fields§
§indices: Vec<i16>§dx: Vec<f32>§dy: Vec<f32>Implementations§
Trait Implementations§
Source§impl Clone for PartDeformFrame
impl Clone for PartDeformFrame
Auto Trait Implementations§
impl Freeze for PartDeformFrame
impl RefUnwindSafe for PartDeformFrame
impl Send for PartDeformFrame
impl Sync for PartDeformFrame
impl Unpin for PartDeformFrame
impl UnsafeUnpin for PartDeformFrame
impl UnwindSafe for PartDeformFrame
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