| Crates.io | vec3 |
| lib.rs | vec3 |
| version | 0.2.1 |
| created_at | 2017-08-17 19:28:20.173288+00 |
| updated_at | 2018-08-19 18:11:55.596978+00 |
| description | vec3 |
| homepage | https://gitlab.com/nathanfaucett/rs-gmath |
| repository | https://gitlab.com/nathanfaucett/rs-gmath.git |
| max_upload_size | |
| id | 27907 |
| size | 25,715 |
vector 3 functions
extern crate vec3;
fn main() {
let a = [1, 1, 1];
let b = [1, 1, 1];
let mut out = vec3::new(0, 0, 0);
vec3::add(&mut out, &a, &b);
assert_eq!(out, [2, 2, 2]);
}