bevy_rapier2d::geometry

Function get_snapped_scale

Source
pub fn get_snapped_scale(scale: Vect) -> Vect
Expand description

We restrict the scaling increment to 1.0e-4, to avoid numerical jitter due to the extraction of scaling factor from the GlobalTransform matrix.