6 Commits

Author SHA1 Message Date
097d9df847 Fixed the library to use the new Rust 2018 module system. 2019-01-20 00:59:58 -05:00
43a1e30808 Added the basic trigonometric functions.
These were moved to their own trait and removed from the definition of
a Real number. This allows the definition of a trigonometric function
to call a different libc trig function depending on type.
2017-06-27 18:19:33 -04:00
Jason Travis Smith
e64c3b0fbe Added Debug, Display, and Default to Vectors and Quaternions.
This also adds an example for Vectors and Quaternions.
2016-01-07 17:42:23 -05:00
Jason Travis Smith
9306a73f9a Added the Zero and One traits to sigils.
It looks like these may be removed from the standard library soon.
2016-01-06 05:59:38 -05:00
Jason Smith
7fd08542e9 This commit moves the library into a usable state.
There is still some work to do with defining
integers and whole numbers better, but for now
the library is usable and reasonably tested.
2015-12-01 15:48:02 -05:00
Jason Travis Smith
7ae702fd5c 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.
2015-10-09 13:02:54 -04:00