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

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

Trait to compute the orthonormal basis of a vector.

Associated Types

The type of the array of orthonormal vectors.

Required methods

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

Computes a vector orthogonal to self with a unit length (if self has a unit length).

Implementors