Added Radians and Degrees to the trig module.
These types allow the correct tracking of the type of angle measurement being used.
This commit is contained in:
@ -6,6 +6,9 @@
|
||||
#![feature(associated_consts)]
|
||||
|
||||
|
||||
#[macro_use]
|
||||
mod macros;
|
||||
|
||||
mod zero;
|
||||
mod one;
|
||||
mod bounded;
|
||||
@ -15,7 +18,7 @@ mod integer;
|
||||
mod real;
|
||||
mod constants;
|
||||
|
||||
pub mod trig;
|
||||
mod trig;
|
||||
pub mod vector;
|
||||
pub mod matrix;
|
||||
pub mod quaternion;
|
||||
@ -28,3 +31,4 @@ 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};
|
||||
|
Reference in New Issue
Block a user