Trait heron::rapier_plugin::rapier::utils::WBasis [−]
Trait to compute the orthonormal basis of a vector.
Associated Types
type Basis
The type of the array of orthonormal vectors.
Required methods
pub fn orthonormal_basis(self) -> Self::Basis
Computes the vectors which, when combined with self
, form an orthonormal basis.
Implementors
impl<N> WBasis for Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer> where
N: SimdRealField,
N: SimdRealField,
type Basis = [Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer>; 1]
pub fn orthonormal_basis(
self
) -> [Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer>; 1]
self
) -> [Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer>; 1]
impl<N> WBasis for Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer> where
N: WSign<N> + SimdRealField,
N: WSign<N> + SimdRealField,