Trait gust_render::transform::Scalable
source · pub trait Scalable {
fn scale<T>(&mut self, factor: Vector<T>)
where
T: Scalar + Into<f32>;
fn set_scale<T>(&mut self, vec: Vector<T>)
where
T: Scalar + Into<f32>;
fn get_scale(&self) -> Vector<f32>;
}
Required Methods
sourcefn scale<T>(&mut self, factor: Vector<T>)where
T: Scalar + Into<f32>,
fn scale<T>(&mut self, factor: Vector<T>)where
T: Scalar + Into<f32>,
Scale the sprite from a factor