Skip to main content

Matrix

Type Alias Matrix 

Source
pub type Matrix = Mat3;
Expand description

The matrix type.

Aliased Type§

#[repr(C)]
pub struct Matrix { 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 MatrixColumn for Matrix

Source§

type Column = Vec3

The column type returned by column().
Source§

fn column(&self, i: usize) -> Self::Column

Returns the i-th column of this matrix.