Commit graph

952 commits

Author SHA1 Message Date
Colin Sherratt
e064ea0e59 int to isize 2015-01-09 16:28:33 -07:00
Colin Sherratt
b7328f57b8 Merge pull request #157 from csherratt/master
Updated to latest rustc
2015-01-09 16:18:07 -07:00
Colin Sherratt
dde1fd26be fixed bench macros 2015-01-09 15:59:43 -07:00
Colin Sherratt
bc89f14250 Fix tests 2015-01-09 15:30:19 -07:00
Colin Sherratt
c0ce271e39 Updated to latest rustc 2015-01-09 15:06:45 -07:00
Colin Sherratt
c4e9857ef5 Merge pull request #156 from csherratt/master
Update to latest rustc
2015-01-07 15:56:52 -07:00
Colin Sherratt
c7270a9077 Update to latest rustc 2015-01-07 15:34:42 -07:00
Brendan Zabarauskas
ac2e3a88b9 Merge pull request #155 from csherratt/master
Update for associated types changes
2015-01-05 19:30:46 +11:00
Colin Sherratt
d6bb64fd65 Update for associated types changes 2015-01-04 18:56:01 -07:00
Brendan Zabarauskas
a6ec222e7f Merge pull request #153 from Connorcpu/master
Updated to rust nightly
2015-01-04 13:35:43 +11:00
Connorcpu
22c2fe4755 Updated to rust nightly 2015-01-03 13:29:26 -08:00
Colin Sherratt
2a8e526d88 Merge pull request #152 from csherratt/master
Switch to rustc_serialize
2014-12-26 17:37:44 -05:00
Colin Sherratt
4bb12d6859 Switch to rustc_serialize 2014-12-26 16:18:29 -05:00
Colin Sherratt
98ab67ee7c Merge pull request #151 from serpis/fix_neg_trait
Update to match latest Neg trait.
2014-12-21 12:36:31 -05:00
Jakob Fries
968adcd2cb Update to match latest Neg trait. 2014-12-21 18:28:59 +01:00
Brendan Zabarauskas
0375cc3a6d Merge pull request #150 from Connorcpu/macro-fix
Fixed macros with missing semicolons
2014-12-20 11:57:29 +11:00
Connorcpu
6e9cd482eb Fixed macros in the benches 2014-12-19 10:06:39 -08:00
Connorcpu
43cfdd94ec Fixed macros with missing semicolons 2014-12-19 09:48:59 -08:00
Brendan Zabarauskas
1831538f35 Merge pull request #149 from csherratt/master
Update to match the latest std::ops::* traits
2014-12-17 20:04:29 +11:00
Colin Sherratt
b0187ddeaa Update to match the latest std::ops::* traits 2014-12-17 02:16:13 -05:00
Corey Richardson
d9608b5757 Merge pull request #148 from tomaka/update-rustc
Update for rustc
2014-12-15 07:57:27 -05:00
Pierre Krieger
888dd6b18e Update for rustc 2014-12-15 13:49:57 +01:00
Brendan Zabarauskas
9cdb27b099 Merge pull request #147 from jameson-ernst/master
Add deriving Copy; Fix warnings
2014-12-13 16:19:53 +11: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
Colin Sherratt
6f058eab4b Merge pull request #146 from jameson-ernst/master
Fixes for trait ambiguity and num reform
2014-11-25 02:27:29 -05:00
Jameson Ernst
12ec7318d0 Remove deprecated Float use from tests. 2014-11-24 20:24:04 -08:00
Jameson Ernst
08f9354efc Fix ambiguous trait call; Remove deprecated Float calls. 2014-11-24 20:04:34 -08:00
Brendan Zabarauskas
23f14b701b Merge pull request #145 from csherratt/master
export PartialOrd
2014-11-21 18:53:27 +11:00
Colin Sherratt
876e23b8cd export PartialOrd 2014-11-21 02:26:59 -05:00
Corey Richardson
bcc4f11150 Merge pull request #142 from aepsil0n/vector_cast
Type-cast a vector component-wise
2014-11-20 10:46:30 -05:00
Eduard Bopp
4d2fb64482 Type-cast a vector component-wise
This allows one to e.g. cast a vector of f64s to an equivalent vector of f32s.
More generally this is allowed for arbitrary NumCast types.
2014-11-20 16:41:27 +01: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
Corey Richardson
0fa3008fa5 Merge pull request #140 from mrannanj/master
update to compile on nightly
2014-11-20 10:19:10 -05:00
Martti Rannanjärvi
3ecf2eb5dd update to compile on nightly 2014-11-20 17:15:07 +02:00
Brendan Zabarauskas
ce4ec62798 Merge pull request #139 from bjz/update
Update for rustc 0.13.0-nightly
2014-11-16 02:03:07 +11:00
Brendan Zabarauskas
1371f75165 Update for rustc 0.13.0-nightly
There are still some deprecation errors in the doc tests left
2014-11-16 01:59:43 +11:00
Brendan Zabarauskas
2fe17066b2 Merge pull request #138 from sebcrozet/master
Add more benchmarks.
2014-11-09 10:31:20 +11:00
Sébastien Crozet
0bbefed4bc Improve the benchmark suite.
As a side effect, this adds `Rand` deriving to the benchmarked strucures.
2014-11-07 16:23:10 +01:00
Sébastien Crozet
11137f823d Merge branch 'cargo_for_benchmarks' of git://github.com/aepsil0n/cgmath-rs 2014-11-07 12:31:34 +01:00
Brendan Zabarauskas
6611456791 Merge pull request #137 from Darkspear7/master
Fix for orthographic projection and removed constraints on input
2014-11-04 06:14:53 +11:00
Darkspear7
7ae16b3423 Removed constraints on ortographic projection function to allow bigger values for left, bottom, near than right, top, far. 2014-11-03 15:50:27 +02:00
Brendan Zabarauskas
08c02bf04f Merge pull request #136 from tomaka/master
fail! -> panic!
2014-10-30 20:12:24 +11:00
Tomaka17
4fcfde13de fail! -> panic! 2014-10-30 10:11:33 +01:00
Brendan Zabarauskas
498fb60281 Merge pull request #132 from aepsil0n/approx_eq_macros
Assertion macros for approximate equality
2014-10-23 22:07:25 +11:00
Brendan Zabarauskas
d2cd97d694 Merge pull request #133 from aepsil0n/readme_update
Update README.md to reflect item name changes
2014-10-23 22:05:55 +11:00
Eduard Bopp
3e73403ca2 Adapt Travis CI integration to benchmark change 2014-10-23 11:30:59 +02:00
Eduard Bopp
549aea6427 Use Cargo to run the benchmarks
Naming the benchmark folder benches instead of bench lets Cargo run the
benchmarks one by one like the test suite. The directory structure was modified
accordingly also getting rid of the now superfluous files.
2014-10-23 11:15:27 +02:00
Eduard Bopp
c5b65ea93d Update README.md to reflect item name changes
There were some outdated names presented in the readme. Fixes #128.
2014-10-23 10:30:33 +02:00
Eduard Bopp
666bb56670 Assertion macros for approximate equality
For sake of readability and consistency with the standard library macros
assert! and assert_eq!, the macros assert_approx_eq! and assert_approx_eq_eps!
have been implemented based on the ApproxEq trait.

Upon failure these macros yield readable error messages including the input
values and the tolerance (epsilon) used to determine their approximate
equality.

Resolves #131.
2014-10-23 10:22:34 +02:00
Brendan Zabarauskas
f514fb2883 Merge pull request #130 from csherratt/master
Added to_euler.
2014-10-14 12:14:59 +11:00