4 Commits

Author SHA1 Message Date
Jason Smith
0b7a338572 Added the ability for vectors to use assignment operators.
This added the AddAssign, SubAssign, MulAssign, DivAssign, and RemAssign.
This needs to be looked at a little further to see if the other functions
need to removed now.
2016-05-12 15:49:24 -04: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
Jason Travis Smith
e410e69e2f Fixed up some tests and wrote some documentation.
Also, .swp files are now ignored.
2015-10-04 23:33:37 -04:00
Jason Travis Smith
0160780bd1 Created a new math library.
This library will e the math library of the magic game engine.

Currently, it defines basic numerical types that can be used in generic programming
and a set of generic Vector structures.

Tests can be added to the "tests" crate.
2015-10-04 02:59:26 -04:00