Quaternion

Type Alias Quaternion 

Source
pub type Quaternion = Quaternion<f32>;

Aliased Type§

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

Fields§

§v: Vector3<f32>

The vector part of the quaternion.

§s: f32

The scalar part of the quaternion.