strange_attractor_renderer::primitives

Struct Matrix3x3

source
pub struct Matrix3x3 {
    pub columns: [[f64; 3]; 3],
}
Expand description

A 3x3 matrix. Use matrix[(0,2)] to get the third item in the first column - indices are zero-based.

Fields§

§columns: [[f64; 3]; 3]

Each column contains a row with three f64s.

Implementations§

source§

impl Matrix3x3

source

pub fn mul_right(&self, vec: Vec3) -> Vec3

Trait Implementations§