Trait heron::rapier_plugin::rapier::ncollide::utils::IsometryOps [−][src]
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]
&self,
v: &Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>
) -> Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer>
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]
&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>>
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.
Implementors
impl<N> IsometryOps<N> for Isometry<N, U3, Unit<Quaternion<N>>> where
N: RealField,
[src]
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>
[src]
&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>>
[src]
&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: &Isometry<N, U3, Unit<Quaternion<N>>>,
t: N
) -> Isometry<N, U3, Unit<Quaternion<N>>>
[src]
&self,
other: &Isometry<N, U3, Unit<Quaternion<N>>>,
t: N
) -> Isometry<N, U3, Unit<Quaternion<N>>>