Brendan Zabarauskas
429d2659fe
Improve fmt::Debug impls
2015-12-29 21:50:43 +11:00
Brendan Zabarauskas
1d886f6197
Add all permutations of matrix ops, and remove operator methods
...
Completes #247
2015-12-21 21:02:40 +11:00
Brendan Zabarauskas
25f5dfd5fc
Remove operator methods from Vector trait
2015-12-13 12:01:00 +11:00
Brendan Zabarauskas
d468d76e0a
Remove operator methods from Point trait
2015-12-13 12:00:34 +11:00
Brendan Zabarauskas
75b6548179
Remove ToComponents and CompositeTransform traits
...
Fixes #274
# Conflicts:
# src/transform.rs
2015-12-13 10:20:53 +11:00
Brendan Zabarauskas
2dc0a4a43f
Rename SquareMatrix::one to identity
...
Fixes #260
2015-12-06 19:36:38 +11:00
Brendan Zabarauskas
178272da3d
Make lots of methods take vectors and points by value
2015-11-09 20:18:02 +11:00
Brendan Zabarauskas
7af4ebb28d
Add some by-value operator overloads
...
Working towards #247
2015-11-08 17:45:33 +11:00
Brendan Zabarauskas
490997c93f
Add an alias to Vector::Scalar in Point
2015-11-03 15:50:07 +11:00
Brendan Zabarauskas
89e656b1f6
Add comments noting rust bugs
2015-11-03 15:40:52 +11:00
Brendan Zabarauskas
669e43ab59
Make scalar type parametrs out of transform and rotation traits
2015-11-03 15:23:22 +11:00
Brendan Zabarauskas
78f86a33cd
Make vectors an associated type on Point
2015-11-03 11:32:15 +11:00
Brendan Zabarauskas
943a92e691
Remove collision types and traits from the library
...
Closes #244
2015-11-01 13:42:58 +11:00
Brendan Zabarauskas
b168c03174
Rename identity
to one
...
Zero is the additive identity, so this disambiguates it
2015-10-01 18:56:31 +10:00
Brendan Zabarauskas
e3e06297a0
Implement by-ref operators for vectors, and remove by-value implementations
...
We can't yet remove the operator methods, due to rust-lang/rust#20671
This also removes the implementations of `Zero` and `One` for vectors.
2015-09-30 17:37:52 +10:00
Brendan Zabarauskas
5023b6c01e
Consistently use associated functions throughout codebase
2015-09-30 09:32:25 +10:00
Tim Neumann
0469935161
fix rfc 1214 fallout
2015-09-12 13:07:22 +02:00
Pierre Krieger
8ab8d7551d
Replace ToMatrix* by Into
2015-05-06 16:27:02 +02:00
Pierre Krieger
8a34332f5f
Rustup
2015-05-06 15:57:15 +02:00
Ryan Stewart
a058142a2c
Get cgmath building in beta by removing remaining unstable feature use. Benching is unstable and therefore only available on nightly; removed from travis in the interim.
2015-05-06 15:57:15 +02:00
Dzmitry Malyshau
498df01729
Fixed all the warnings, compile issues, and tests
2015-04-04 22:31:18 -04:00
Dzmitry Malyshau
8db429acae
Using rust-lang/num
2015-04-04 21:19:11 -04:00
Colin Sherratt
f6b86fe4bd
Add PhantomData to ray
2015-03-29 17:35:47 -04:00
Jonathan Neuschäfer
4c527f8334
s/AUTHORS file/Cargo.toml file/
2015-03-18 17:51:03 +01:00
Dzmitry Malyshau
f03d4427ee
Redesigned ToComponents, removed the implementation for AffineMatrix3 as incorrect.
2015-03-01 23:40:43 -05:00
Dzmitry Malyshau
45c6fd630d
Cleaned up public exports. Implemented ToComponents for Matrix3. Added tests.
2015-03-01 01:29:47 -05:00
Dzmitry Malyshau
bf257a3e49
Added ToComponents. Moved from_value into .
2015-03-01 01:05:22 -05:00
Ben Foppa
a1d4ba19d0
Add a phantom type annotation on Transform.
2015-02-20 23:29:11 -05:00
Colin Sherratt
e712bdee7c
fmt::Show to fmt::Debug
2015-02-08 13:19:32 -05:00
Colin Sherratt
c0ce271e39
Updated to latest rustc
2015-01-09 15:06:45 -07:00
Connorcpu
22c2fe4755
Updated to rust nightly
2015-01-03 13:29:26 -08:00
Colin Sherratt
4bb12d6859
Switch to rustc_serialize
2014-12-26 16:18:29 -05:00
Pierre Krieger
888dd6b18e
Update for rustc
2014-12-15 13:49:57 +01:00
Jameson Ernst
5726e6c7dc
Add deriving Copy to all structs that would previously be inferred to be Copy
...
Remove use of deprecated Equiv trait
Remove unsed attributes
2014-12-12 17:06:52 -08:00
Jameson Ernst
08f9354efc
Fix ambiguous trait call; Remove deprecated Float calls.
2014-11-24 20:04:34 -08:00
Eduard Bopp
9f8580eeca
Replace deprecated std::num traits
...
These traits are akin to the deprecated standard library traits (Zero, One,
Primitive) to keep everything running as before. However, for the long term a
better algebraic abstraction should be used/provided.
2014-11-20 16:28:02 +01:00
Tomaka17
1b5da61ccb
Update for rustc 0e784e168 2014-09-16 23:26:11 +0000
2014-09-18 16:19:26 +02:00
bachm
825f5f2975
deriving Encodable, Decodable for all structs
2014-08-23 14:34:33 +02:00
Corey Richardson
c9bdf838a5
Update for Cargo
2014-06-23 23:49:29 -07:00