avian2d::math

Type Alias Quaternion

Source
pub type Quaternion = Quat;
Expand description

The quaternion type used by Avian.

Aliased Type§

struct Quaternion(/* private fields */);

Trait Implementations§

Source§

impl From<Rotation> for Quaternion

Source§

fn from(rot: Rotation) -> Self

Converts to this type from the input type.