Trait ncollide3d::utils::IsometryOps [−][src]
pub trait IsometryOps<N: RealField> { fn absolute_transform_vector(&self, v: &Vector<N>) -> Vector<N>; fn inverse_transform_unit_vector(
&self,
v: &Unit<Vector<N>>
) -> Unit<Vector<N>>; fn lerp_slerp(&self, other: &Self, t: N) -> Self; }
Extra operations with isometries.
Required methods
fn absolute_transform_vector(&self, v: &Vector<N>) -> Vector<N>
[src]
Transform a vector by the absolute value of the homogeneous matrix
equivalent to self
.
fn inverse_transform_unit_vector(&self, v: &Unit<Vector<N>>) -> Unit<Vector<N>>
[src]
Transform a unit vector by the inverse of self
.
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.
Implementations on Foreign Types
impl<N: RealField> IsometryOps<N> for Isometry3<N>
[src]
impl<N: RealField> IsometryOps<N> for Isometry3<N>
[src]