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

Source§

fn from(rot: Rotation) -> Self

Converts to this type from the input type.
Source§

impl Mul<Rotation> for &Quaternion

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

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

Source§

type Output = Rotation

The resulting type after applying the * operator.
Source§

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

Performs the * operation. Read more