Skip to main content

SpatialVec

Type Alias SpatialVec 

Source
pub type SpatialVec = SpatialVec<f64>;
Expand description

6D spatial vector – either a motion vector (twist) or force vector (wrench).

Stored as two Vec3s (angular, linear) instead of a flat Vec6.

Aliased Type§

#[repr(C)]
pub struct SpatialVec { pub angular: Vec3<f64>, pub linear: Vec3<f64>, }

Fields§

§angular: Vec3<f64>§linear: Vec3<f64>