gmath

Crates.iogmath
lib.rsgmath
version0.1.1
sourcesrc
created_at2018-06-14 13:06:15.941404
updated_at2018-08-19 18:13:09.047526
descriptionmath for graphics and games
homepagehttps://gitlab.com/nathanfaucett/rs-gmath
repositoryhttps://gitlab.com/nathanfaucett/rs-gmath.git
max_upload_size
id70086
size15,532
Nathan Faucett (nathanfaucett)

documentation

README

rs-gmath

=====

math for graphics and games

extern crate gmath;

use gmath::{vec3, quat, mat4};

fn main() {
    let position = vec3::new_zero();
    let scale = vec3::new_one();
    let rotation = quat::new_identity();
    let mut matrix = mat4::new_identity();

    mat4::compose(&mut matrix, &position, &scale, &rotation);
}
Commit count: 11

cargo fmt