vect/
lib.rs

1//! # vect
2//! 
3//! Vect is a crate for providing simple and easy to use vectors for use in game development in the style of those found in the Unity game engine.
4//! 
5//! The library provides three things out of the box: the `Vector` trait, which contains methods like `normalize`, `lerp`, and `zero`, which are common across all vector implementations; the `Vector2` struct, which provides a base-implementation for a 2D vector with `f64` fields; and finally `Vector3`, which provides a base-implementation of a 3D vector, also with `f64` fields.
6//! 
7//! The `prelude` provides everything you'll need to get going with the library. Simply do a bulk import and you're off to the races!
8pub mod vector2;
9pub mod vector3;
10pub mod vector;
11pub mod prelude;