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
radiustocenter(brute-force distance check), each displaced bystrength * falloff * normal, wherefalloffis theFalloffweight of its normalized distance andnormalits smooth normal. - The move is written once, in a single
set_positionscall over the vertices whose displacement is above 0; an empty region writes nothing. History is untouched.
ยงErrors
OpsError::InvalidInputwhen the radius is not positive, or any brush number (center, radius, strength) is not finite.OpsError::Storewhen memory runs out.
Nothing is written in any of these cases.