Quaternion

Type Alias Quaternion 

Source
pub type Quaternion = Quat;
Expand description

Quaternion for rotations (preferred over Rotator for math operations)

Aliased Type§

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

Trait Implementations§

Source§

impl BinarySerializable for Quaternion

Source§

fn to_binary(&self) -> Result<Vec<u8>, Error>
where Self: Serialize,

Serialize to binary format
Source§

fn from_binary(data: &[u8]) -> Result<Self, Error>
where Self: DeserializeOwned,

Deserialize from binary format