awsm 0.0.11

Wrappers for WASM
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use nalgebra::{Point3, Matrix4};

pub struct Transform {
    translation: Point3<f64>,
    rotation: Point3<f64>,
    scale: Point3<f64>,

    local_matrix: Matrix4<f64>,
    model_matrix: Matrix4<f64>,
    normal_matrix: Option<Matrix4<f64>>,
    model_view_matrix: Option<Matrix4<f64>>,
    model_view_projection_matrix: Option<Matrix4<f64>>,
}