[−][src]Type Definition webgl_matrix::Mat3
type Mat3 = [f32; 9];
Trait Implementations
impl Matrix for Mat3
[src]
type MatrixType = Mat3
type VectorType = [f32; 3]
fn zeros() -> Self
[src]
fn ones() -> Self
[src]
fn identity() -> Self
[src]
fn copy_to(&self, dst: &mut Self)
[src]
fn transpose(&mut self) -> &mut Self
[src]
fn mul(&mut self, rhs: &Self) -> &mut Self
[src]
fn mul_vector(&self, rhs: &[f32]) -> [f32; 3]
[src]
fn mul_vector_left(&self, lhs: &[f32]) -> [f32; 3]
[src]
fn add(&mut self, rhs: &Self) -> &mut Self
[src]
fn sub(&mut self, rhs: &Self) -> &mut Self
[src]
fn scale(&mut self, factor: f32) -> &mut Self
[src]
fn inverse(&mut self) -> Option<&mut Self>
[src]
fn det(&self) -> f32
[src]
fn adjugate(&mut self) -> &mut Self
[src]
fn translate(&mut self, direction: &[f32]) -> &mut Self
[src]
fn rotate(&mut self, angle: f32, _: &[f32]) -> &mut Self
[src]
Rotate the matrix around the Z-axis.
The axis
argument is ignored.