Brendan Zabarauskas
d5514fc982
Move contents of geom and core modules into new math module
...
Having these two modules separate made more sense when the library was divided into lmath and cgmath. Now that the two have been combined, it makes more sense to bundle these types in one module (I think).
2013-07-14 11:47:10 +10:00
Brendan Zabarauskas
3ce6578d56
Rename RealVec to FloatVec and use Float trait constraints
2013-07-14 07:53:37 +10:00
Brendan Zabarauskas
6061395fd7
Add Vec trait that inherits from Dimensional and Swap
2013-07-14 07:48:54 +10:00
Brendan Zabarauskas
6a9d690c79
Arrange vector methods into traits
2013-07-13 23:37:38 +10:00
Brendan Zabarauskas
0e483bb579
Add some doc comments to vec module
2013-07-13 23:06:17 +10:00
Brendan Zabarauskas
ad59c9b16f
Decouple vec module from Point2 and Point3
2013-07-12 16:36:36 +10:00
Brendan Zabarauskas
7615a55d84
More module re-arrangement
2013-07-12 16:32:12 +10:00
Brendan Zabarauskas
0cbfa7d040
Remove unnecessary method impl (bools now impl Not)
2013-07-12 14:08:25 +10:00
Brendan Zabarauskas
3d51d83c92
Rename length to magnitude and remove distance methods from vec
2013-07-12 13:42:28 +10:00
Brendan Zabarauskas
eb75d34636
Add vector conversion traits
2013-07-12 13:41:28 +10:00
Brendan Zabarauskas
8139e634fb
Remove conflicting ApproxEq impls
2013-07-12 12:19:40 +10:00
Brendan Zabarauskas
3656068f5c
Add impl_approx! macro
2013-07-12 11:22:14 +10:00
Brendan Zabarauskas
6300d4b539
Move swap and dimensional impls into separate modules
2013-07-12 07:44:20 +10:00
Brendan Zabarauskas
b06785fc89
Remove impl_approx! macro
2013-07-11 23:54:50 +10:00
Brendan Zabarauskas
053586c8e2
Add point conversion methods for vec2 and vec3 types
2013-07-10 14:18:44 +10:00
Brendan Zabarauskas
c0a5b29af1
Move files into submodules
2013-07-08 17:02:04 +10:00