Commit graph

1287 commits

Author SHA1 Message Date
Brendan Zabarauskas 5023b6c01e Consistently use associated functions throughout codebase 2015-09-30 09:32:25 +10:00
Brendan Zabarauskas 046ff64b72 Merge pull request #234 from bjz/fix-quat-mul
Fix Quaternion::mul_self_q
2015-09-29 18:39:36 +10:00
Brendan Zabarauskas 494f2b65ad Fix Quaternion::mul_self_q
Fixes #224

I haven't really thought about whether there is a faster way to do this, but at least it is fixed.
2015-09-29 18:36:41 +10:00
Colin Sherratt 5dd8bc7ef3 Merge pull request #233 from bjz/remove-map-method
Remove {Array1, Array2}::map method
2015-09-29 02:22:51 -04:00
Colin Sherratt 4a1a97aaaa Merge pull request #232 from bjz/move-matrix-constructors
Move some methods onto the Matrix trait
2015-09-29 02:20:40 -04:00
Brendan Zabarauskas 4be95bcb7d Remove {Array1, Array2}::map method
This doesn't seem to be used anywhere - not sure how useful it is. It isn't really a proper `map` anyway, because it mutates `self`.
2015-09-29 09:47:57 +10:00
Brendan Zabarauskas 3ea0b3c5b2 Move some methods onto the Matrix trait
Now we can call them like `Matrix4::identity()`! Yay!
2015-09-29 09:34:41 +10:00
Brendan Zabarauskas b5084225f3 Merge pull request #231 from bjz/add-conversion-tests
Add conversion tests for vectors, points, and quaternions
2015-09-27 17:23:48 +10:00
Brendan Zabarauskas 7f73c2cdd9 Add conversion tests for vectors, points, and quaternions 2015-09-27 17:20:02 +10:00
Brendan Zabarauskas 17f51d4989 Merge pull request #230 from bjz/remove-fixedarray-trait
Remove FixedArray trait in favour of std::convert
2015-09-27 13:03:26 +10:00
Brendan Zabarauskas 69caaf48b6 Add index tests 2015-09-27 13:01:14 +10:00
Brendan Zabarauskas aff340dc1e Add range index operators 2015-09-21 07:56:03 +10:00
Brendan Zabarauskas 0ce28fbe10 Remove FixedArray trait in favour of std::convert
Fixes #225
2015-09-21 06:49:33 +10:00
Brendan Zabarauskas 75af609121 Merge pull request #229 from bjz/use-travis-cargo
Use travis-cargo for documentation updates
2015-09-20 16:07:01 +10:00
Brendan Zabarauskas 076ee866d7 Comment out nightly testing for now due to 'does not have these features: ' error coming from travis-cargo 2015-09-20 16:04:06 +10:00
Brendan Zabarauskas fde34bde39 Update cargo and readme links, and add crates.io badge 2015-09-20 15:42:10 +10:00
Brendan Zabarauskas 7c22880aee Use travis-cargo for documentation updating 2015-09-20 15:32:35 +10:00
Brendan Zabarauskas 96905f577f Merge pull request #228 from csherratt/master
Bump version number (breaking changes, so none-patch)
2015-09-20 14:44:03 +10:00
Colin Sherratt e9e81cc5ed Bump version number (breaking changes, so none-patch) 2015-09-12 13:04:29 -04:00
Colin Sherratt dc31f7cab9 Merge pull request #227 from TimNN/rfc-1214-fallout
fix rfc 1214 fallout
2015-09-12 12:55:51 -04:00
Tim Neumann 0469935161 fix rfc 1214 fallout 2015-09-12 13:07:22 +02:00
tomaka aebe5fd9bf Merge pull request #221 from tomaka/bump
Bump to 0.2.0
2015-05-11 09:02:54 +02:00
Pierre Krieger fb8cd931d8 Bump to 0.2.0 2015-05-11 09:01:40 +02:00
Dzmitry Malyshau c58b93837f Merge pull request #219 from kvark/master
Version bump
2015-05-10 18:39:11 -04:00
Dzmitry Malyshau 507e53b63f Version bump 2015-05-10 18:38:44 -04:00
Dzmitry Malyshau d2975cc068 Merge pull request #218 from tomaka/angle-more-generic
Make functions in angle.rs more generic
2015-05-08 10:50:40 -04:00
Pierre Krieger 9cd7f71875 Make functions in angle.rs more generic 2015-05-08 16:40:22 +02:00
Dzmitry Malyshau 6e560fbd03 Merge pull request #216 from tomaka/into
Replace most To* traits by Into
2015-05-08 10:16:00 -04:00
Pierre Krieger 1a6dc52e51 Remove ToQuaternion 2015-05-06 16:27:03 +02:00
Pierre Krieger 6ce250b10d Remove ToBasis2/ToBasis3 in favor of Into 2015-05-06 16:27:03 +02:00
Pierre Krieger 151c6c6e64 Replace as_matrix* by impl AsRef<Matrix 2015-05-06 16:27:02 +02:00
Pierre Krieger 8ab8d7551d Replace ToMatrix* by Into 2015-05-06 16:27:02 +02:00
Pierre Krieger e5822e3864 Replace ToDeg/ToRad by From/Into 2015-05-06 16:27:02 +02:00
Dzmitry Malyshau 84fa175901 Merge pull request #215 from tomaka/new-rust-1.0
Merge the rust-1.0 branch into master
2015-05-06 10:20:11 -04:00
Pierre Krieger 508a45405b Test for both the beta and the nightly 2015-05-06 16:15:44 +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 e63ce6f9e2 Switched Travis to rust-1.0 2015-05-06 15:56:11 +02:00
Dzmitry Malyshau e29bb4c899 Merge pull request #211 from kvark/num
Fixed the num crate
2015-04-25 19:58:04 -04:00
Dzmitry Malyshau 16302ffa20 Fixed the num crate 2015-04-24 23:28:31 -04:00
tomaka 3bd90171e9 Merge pull request #208 from tomaka/bump
Bump version
2015-04-24 13:15:39 +02:00
Pierre Krieger f3c9d9dcda Bump version 2015-04-24 13:15:05 +02:00
Corey Richardson d06b3d7970 Merge pull request #207 from tomaka/matrix-mul
Allow writing `matrix * scalar`
2015-04-19 10:37:20 -04:00
Pierre Krieger d560242ed4 Allow writing matrix * scalar 2015-04-19 15:45:13 +02:00
Dzmitry Malyshau 7916a14f70 Merge pull request #203 from kvark/neg2
Neg fallout - 2
2015-04-06 20:27:23 -04:00
Dzmitry Malyshau 498df01729 Fixed all the warnings, compile issues, and tests 2015-04-04 22:31:18 -04:00
Dzmitry Malyshau b56ad542b3 Fixed NumCast and angles 2015-04-04 21:32:12 -04:00
Dzmitry Malyshau 8db429acae Using rust-lang/num 2015-04-04 21:19:11 -04:00
Dzmitry Malyshau 94d428d23e Fixed the Neg disaster 2015-04-04 20:15:00 -04:00
tomaka da2df8e10b Merge pull request #199 from tomaka/bump
Bump version
2015-04-01 18:29:31 +02:00