Finished the Vector definition.

This complete what is needed for the definition of Vector2, Vector3, and Vector4.

This required a trigonometry section, fleshing out the rest of the Number, ToNumber,
and FromNumber section, correctly defining all the available function for the Real
trait, and defining several constants.
This commit is contained in:
Jason Travis Smith
2015-10-09 13:02:54 -04:00
parent e410e69e2f
commit 7ae702fd5c
13 changed files with 3158 additions and 198 deletions

View File

@ -1,16 +1,28 @@
//! A mathematical library.
//! License: Proprietary
//!
//!
#![feature(zero_one)]
#![feature(float_from_str_radix)]
#![feature(float_extras)]
#![feature(associated_consts)]
mod bounded;
mod number;
mod whole;
mod integer;
mod real;
mod constants;
pub mod trig;
pub mod vector;
pub mod matrix;
pub mod quaternion;
pub use self::vector::Vector;
pub use self::vector::Vector2;
pub use self::vector::Vector3;
pub use self::vector::Vector4;
pub use self::number::Number;
pub use self::whole::Whole;
pub use self::integer::Integer;
pub use self::real::Real;
pub use self::constants::Constants;