Transformable

Trait Transformable 

Source
pub trait Transformable {
    // Required method
    fn transform(&mut self, matrix: &Mat4);
}
Expand description

A trait for types that can have a matrix transform applied. Primarily for testing/examples.

Required Methods§

Source

fn transform(&mut self, matrix: &Mat4)

Implementors§

Source§

impl Transformable for &mut Triangle

Source§

impl<T> Transformable for T
where T: AsMut<[Triangle]>,