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:
20
src/lib.rs
20
src/lib.rs
@ -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;
|
||||
|
Reference in New Issue
Block a user