Type Alias nalgebra::base::UnitVector4

source ·
pub type UnitVector4<T> = Unit<Matrix<T, U4, U1, ArrayStorage<T, 4, 1>>>;
Expand description

A stack-allocated, 4-dimensional unit vector.

Aliased Type§

struct UnitVector4<T> { /* private fields */ }

Trait Implementations§

source§

impl TryFrom<DVec4> for UnitVector4<f64>

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(e: DVec4) -> Result<Self, Self::Error>

Performs the conversion.
source§

impl TryFrom<Vec4> for UnitVector4<f32>

§

type Error = &'static str

The type returned in the event of a conversion error.
source§

fn try_from(e: Vec4) -> Result<Self, Self::Error>

Performs the conversion.