Trait rapier2d::utils::WBasis [−][src]
Trait to compute the orthonormal basis of a vector.
Associated Types
Loading content...Required methods
fn orthonormal_basis(self) -> Self::Basis
[src]
Computes the vectors which, when combined with self
, form an orthonormal basis.
fn orthonormal_vector(self) -> Self
[src]
Computes a vector orthogonal to self
with a unit length (if self
has a unit length).