Type Alias Matrix3

Source
pub type Matrix3 = Mat3;
Expand description

3x3 Matrix

Aliased Type§

#[repr(C)]
pub struct Matrix3 { pub x_axis: Vec3, pub y_axis: Vec3, pub z_axis: Vec3, }

Fields§

§x_axis: Vec3§y_axis: Vec3§z_axis: Vec3

Trait Implementations§

Source§

impl BinarySerializable for Matrix3

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