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 3d only.
Source§

fn from(rot: Rotation) -> Self

Converts to this type from the input type.
Source§

impl Mul<Rotation> for &Quaternion

Available on crate feature 3d only.
Source§

type Output = Rotation

The resulting type after applying the * operator.
Source§

fn mul(self, rotation: Rotation) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Rotation> for &mut Quaternion

Available on crate feature 3d only.
Source§

type Output = Rotation

The resulting type after applying the * operator.
Source§

fn mul(self, rotation: Rotation) -> Self::Output

Performs the * operation. Read more
Source§

impl Mul<Rotation> for Quaternion

Available on crate feature 3d only.
Source§

type Output = Rotation

The resulting type after applying the * operator.
Source§

fn mul(self, rotation: Rotation) -> Self::Output

Performs the * operation. Read more