Type Alias Quaternion

Source
pub type Quaternion = Quaternion<f32>;

Aliased Type§

#[repr(C)]
pub struct Quaternion { pub s: f32, pub v: Vector3<f32>, }

Fields§

§s: f32

The scalar part of the quaternion.

§v: Vector3<f32>

The vector part of the quaternion.