Trait heron::rapier_plugin::rapier::ncollide::utils::IsometryOps[][src]

pub trait IsometryOps<N> where
    N: RealField
{ pub fn absolute_transform_vector(
        &self,
        v: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>
    ) -> Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>;
pub fn inverse_transform_unit_vector(
        &self,
        v: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
    ) -> Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>;
pub fn lerp_slerp(&self, other: &Self, t: N) -> Self; }

Extra operations with isometries.

Required methods

pub fn absolute_transform_vector(
    &self,
    v: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>
) -> Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>
[src]

Transform a vector by the absolute value of the homogeneous matrix equivalent to self.

pub fn inverse_transform_unit_vector(
    &self,
    v: &Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
) -> Unit<Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>>
[src]

Transform a unit vector by the inverse of self.

pub fn lerp_slerp(&self, other: &Self, t: N) -> Self[src]

Interpolates between two isometries, using LERP for the translation part and SLERP for the rotation part.

Loading content...

Implementors

impl<N> IsometryOps<N> for Isometry<N, U3, Unit<Quaternion<N>>> where
    N: RealField
[src]

Loading content...