Trait heron::rapier_plugin::rapier::utils::WBasis[]

pub trait WBasis {
    type Basis;
    pub fn orthonormal_basis(self) -> Self::Basis;
}

Trait to compute the orthonormal basis of a vector.

Associated Types

type Basis

The type of the array of orthonormal vectors.

Loading content...

Required methods

pub fn orthonormal_basis(self) -> Self::Basis

Computes the vectors which, when combined with self, form an orthonormal basis.

Loading content...

Implementors

impl<N> WBasis for Matrix<N, U2, U1, <DefaultAllocator as Allocator<N, U2, U1>>::Buffer> where
    N: SimdRealField

impl<N> WBasis for Matrix<N, U3, U1, <DefaultAllocator as Allocator<N, U3, U1>>::Buffer> where
    N: WSign<N> + SimdRealField

Loading content...