2 releases
Uses old Rust 2015
0.1.1 | Aug 19, 2018 |
---|---|
0.1.0 | Jun 14, 2018 |
#1598 in Game dev
210KB
5.5K
SLoC
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);
}
Dependencies
~160KB