[][src]Trait rust_3d::IsMatrix4Transformable

pub trait IsMatrix4Transformable {
    fn transformed(&self, m: &Matrix4) -> Self;
fn transform(&mut self, m: &Matrix4); }

IsMatrix4Transformable trait used for types that can be transformed by a 4x4 Matrix

Required methods

fn transformed(&self, m: &Matrix4) -> Self

Should return self transformed by the Matrix

fn transform(&mut self, m: &Matrix4)

Should transform self by the Matrix

Loading content...

Implementors

impl IsMatrix4Transformable for LineSegment3D[src]

impl IsMatrix4Transformable for Point3D[src]

impl<P> IsMatrix4Transformable for PointCloud3D<P> where
    P: Is3D + IsMatrix4Transformable + Clone
[src]

impl<P> IsMatrix4Transformable for Polygon3D<P> where
    P: Is3D + IsMatrix4Transformable + Clone
[src]

impl<P, ID, IC> IsMatrix4Transformable for Mesh3D<P, ID, IC> where
    P: Is3D + IsMatrix4Transformable + Clone,
    ID: IsDataContainer<P> + IsMatrix4Transformable + Clone,
    IC: IsIndexContainer
[src]

Loading content...