ncollide3d::interpolation

Trait RigidMotionComposition

Source
pub trait RigidMotionComposition<N: RealField + Copy>: RigidMotion<N> {
    // Provided methods
    fn prepend_translation(
        &self,
        translation: Vector<N>,
    ) -> PrependTranslation<'_, N, Self> { ... }
    fn prepend_transformation(
        &self,
        transformation: Isometry<N>,
    ) -> PrependTransformation<'_, N, Self> { ... }
}
Expand description

Trait for composing some rigid motions.

Provided Methods§

Source

fn prepend_translation( &self, translation: Vector<N>, ) -> PrependTranslation<'_, N, Self>

Prepend a translation to the rigid motion self.

Source

fn prepend_transformation( &self, transformation: Isometry<N>, ) -> PrependTransformation<'_, N, Self>

Prepend a transformation to the rigid motion self.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§