Struct rust_3d::matrix4::Matrix4
[−]
[src]
pub struct Matrix4 { pub data: [[f64; 4]; 4], }
Fields
data: [[f64; 4]; 4]
Methods
impl Matrix4
[src]
fn new() -> Matrix4
fn zeroes() -> Matrix4
fn translation(x: f64, y: f64, z: f64) -> Matrix4
fn scale(x: f64, y: f64, z: f64) -> Matrix4
fn rotation(rad_x: f64, rad_y: f64, rad_z: f64) -> Matrix4
fn rotation_axis<P>(axis: &P, rad: f64) -> Result<Matrix4> where P: IsBuildable3D
@todo wont have to be of type option once uvec implemented