fixed-vectors
Library implementing fixed-length vectors meant for representing positional and dimensional values. These vectors have various mathematical and helper functions implemented for them out of the box for ease of use in calculations, especially game development related ones. These methods are all implemented using the impl_vector!
macro, you can have access to this macro by using the macros
feature tag while managing your dependencies.
Example
use Vector2;
use TryFrom;
let str_vec = new;
assert_eq!;
let mut num_vec = new;
num_vec += new;
assert_eq!;
if let Ok = try_from