8 releases

Uses old Rust 2015

0.2.1 Aug 19, 2018
0.2.0 Jun 14, 2018
0.1.6 Feb 23, 2018
0.1.5 Jan 31, 2018
0.1.0 Aug 17, 2017

#1 in #3

Download history 60/week @ 2024-03-16 70/week @ 2024-03-23 99/week @ 2024-03-30 49/week @ 2024-04-06 129/week @ 2024-04-13 113/week @ 2024-04-20 65/week @ 2024-04-27 64/week @ 2024-05-04 71/week @ 2024-05-11 54/week @ 2024-05-18 57/week @ 2024-05-25 63/week @ 2024-06-01 38/week @ 2024-06-08 54/week @ 2024-06-15 71/week @ 2024-06-22 14/week @ 2024-06-29

187 downloads per month
Used in 15 crates (6 directly)

MIT/Apache

26KB
672 lines

vec3

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]);
}

Dependencies

~160KB