Quaternion

Type Alias Quaternion 

Source
pub type Quaternion = Quat;
Expand description

The quaternion type used by Avian.

Aliased Type§

pub struct Quaternion(/* private fields */);

Trait Implementations§

Source§

impl From<Rotation> for Quaternion

Available on crate feature 2d only.
Source§

fn from(rot: Rotation) -> Self

Converts to this type from the input type.