Skip to main content

inflate

Function inflate 

Source
pub fn inflate(
    tx: &mut Transaction<'_>,
    options: &InflateOptions,
) -> Result<InflateReport>
Expand description

Pushes the vertices under the brush along their smooth normals.

  • Region: every live vertex closer than radius to center (brute-force distance check), each displaced by strength * falloff * normal, where falloff is the Falloff weight of its normalized distance and normal its smooth normal.
  • The move is written once, in a single set_positions call over the vertices whose displacement is above 0; an empty region writes nothing. History is untouched.

ยงErrors

Nothing is written in any of these cases.