Skip to main content

ScaleTransform

Trait ScaleTransform 

Source
pub trait ScaleTransform {
    // Required method
    fn scale(&mut self, scale: DVec3) -> &mut Self;
}
Expand description

Scaling operations: the axis-aligned (diagonal group) scaling action.

This trait is blanket-implemented for all T: ApplyTransform<Diag> (see super::ApplyTransform). For uniform scaling of similarity-closure types, see super::UniformScaleTransform.

Required Methods§

Source

fn scale(&mut self, scale: DVec3) -> &mut Self

Scale at the origin.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§