These types allow the correct tracking of the type of angle measurement being used.
35 lines
544 B
Rust
35 lines
544 B
Rust
//! A mathematical library.
|
|
//! License: Proprietary
|
|
//!
|
|
//!
|
|
#![feature(float_extras)]
|
|
#![feature(associated_consts)]
|
|
|
|
|
|
#[macro_use]
|
|
mod macros;
|
|
|
|
mod zero;
|
|
mod one;
|
|
mod bounded;
|
|
mod number;
|
|
mod whole;
|
|
mod integer;
|
|
mod real;
|
|
mod constants;
|
|
|
|
mod trig;
|
|
pub mod vector;
|
|
pub mod matrix;
|
|
pub mod quaternion;
|
|
|
|
|
|
pub use self::zero::Zero;
|
|
pub use self::one::One;
|
|
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;
|
|
pub use self::trig::{Degree, Radian};
|