[][src]Trait oxygengine_physics_2d::prelude::ncollide2d::interpolation::RigidMotionComposition

pub trait RigidMotionComposition<N>: RigidMotion<N> where
    N: RealField
{ fn prepend_translation(
        &self,
        translation: Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer>
    ) -> PrependTranslation<N, Self> { ... }
fn prepend_transformation(
        &self,
        transformation: Isometry<N, U2, Unit<Complex<N>>>
    ) -> PrependTransformation<N, Self> { ... } }

Trait for composing some rigid motions.

Provided methods

fn prepend_translation(
    &self,
    translation: Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer>
) -> PrependTranslation<N, Self>

Prepend a translation to the rigid motion self.

fn prepend_transformation(
    &self,
    transformation: Isometry<N, U2, Unit<Complex<N>>>
) -> PrependTransformation<N, Self>

Prepend a transformation to the rigid motion self.

Loading content...

Implementors

impl<N, M> RigidMotionComposition<N> for M where
    M: RigidMotion<N> + ?Sized,
    N: RealField
[src]

Loading content...