[−][src]Trait gut::ops::transform::Scale
Required methods
fn scale(&mut self, s: [T; 3])
Scale the given object in 3D by a given vector of scale factors.
s = [1.0; 3]
corresponds to a noop.
Provided methods
fn uniform_scale(&mut self, s: T)
Uniformly scale the given object by the given factor in all dimensions.