Expand description
nd-vec
A compile time n-dimensional vector library.
use nd_vec::vector;
let a = vector!(1, 2, 3);
let b = vector!(4, 5, 6);
println!("{:?}", a + b); // => (5, 7, 9)
Macros
- Create a new vector with the given components.
Structs
- A compile-time n-dimensional vector, how fancy!
Type Aliases
- Alias for a 2-dimensional vector with the given type.
- Alias for a 3-dimensional vector with the given type.