Commit graph

1535 commits

Author SHA1 Message Date
Brendan Zabarauskas 6e9d13c94d Merge pull request #333 from bjz/version-bump
Update to v0.9.0
2016-04-19 22:29:12 +10:00
Brendan Zabarauskas d467e5b5d8 Update Cargo.toml 2016-04-19 22:16:05 +10:00
Brendan Zabarauskas 615e459204 Update changelog
Fixes #331
2016-04-19 22:11:49 +10:00
Brendan Zabarauskas ce9da70fb7 Merge pull request #332 from bjz/structure-module
Move traits into common module
2016-04-19 21:03:31 +10:00
Brendan Zabarauskas 8dd2874b59 Move traits into common module 2016-04-19 20:51:40 +10:00
Brendan Zabarauskas ee5396a64c Merge pull request #328 from bjz/move-slerp-to_euler
Move Quaternion::{slerp, to_euler} out of separate impl block
2016-04-16 14:44:44 +10:00
Brendan Zabarauskas e9671e6070 Move Quaternion::{slerp, to_euler} out of separate impl block 2016-04-16 14:32:28 +10:00
Brendan Zabarauskas 7b04a30104 Merge pull request #326 from bjz/stabilise-assignment-ops
Stabilise assignment operators
2016-04-16 14:26:54 +10:00
Brendan Zabarauskas 07301eb4d0 Stabilise assignment operators
Assignment operators were stabilised in Rust 1.8.
2016-04-16 10:09:47 +10:00
Brendan Zabarauskas 3cc33c4606 Merge pull request #320 from bjz/the-grand-trait-unification
Unify traits into an algebraic heirachy
2016-04-12 08:48:13 +10:00
Brendan Zabarauskas 5952326851 Merge pull request #323 from mhintz/readme-edit
Add note about column-vector convention
2016-04-10 18:57:46 +10:00
Mark Hintz a37bc49882 Add note about column-vector convention
This is something which I think every vector math library should have, as it clears
up the convention for newcomers and saves them the trouble of figuring that out for themselves.
2016-04-10 08:28:34 +02:00
Brendan Zabarauskas 23fce928c0 Module documentation updates 2016-04-09 14:22:30 +10:00
Brendan Zabarauskas a3e6cd26b5 Document fields 2016-04-09 13:47:17 +10:00
Brendan Zabarauskas 886e2fb240 Unify trait hierarchies for vectors, quaternions and matrices 2016-04-09 13:47:04 +10:00
Brendan Zabarauskas b4063ea72a Rename Point to EuclideanSpace 2016-04-08 19:56:30 +10:00
Brendan Zabarauskas b5f8e7646b Rename Point::Vector to Point::Diff 2016-04-08 15:35:11 +10:00
Brendan Zabarauskas 2b36ea2ef9 Rename Vector trait to VectorSpace and EuclideanVector to InnerSpace 2016-04-08 08:46:35 +10:00
Brendan Zabarauskas cfeb001ea7 Merge pull request #318 from frewsxcv/patch-1
Remove now default 'sudo: false'
2016-04-06 23:25:13 +10:00
Brendan Zabarauskas 0c7442a98b Merge pull request #317 from bjz/fix-rustc-serialize-version
Un-implicit-glob rustc-serialize version number
2016-04-06 23:16:48 +10:00
Corey Farwell 3529ec34bf Remove now default 'sudo: false'
'sudo: false' is now default on Travis CI.
2016-04-06 09:11:36 -04:00
Brendan Zabarauskas 4d7358cda4 Update changelog 2016-04-06 23:06:09 +10:00
Brendan Zabarauskas d2929921d3 Un-implicit-glob rustc-serialize version number
Fixes #308
2016-04-06 23:04:39 +10:00
Brendan Zabarauskas 04b6b27bd5 Merge pull request #316 from bjz/bump-version
Bump version to v0.8.0
2016-04-06 22:35:07 +10:00
Brendan Zabarauskas cea5e78bc7 Bump version number 2016-04-06 22:21:58 +10:00
Brendan Zabarauskas 10fe7e6107 Merge pull request #315 from bjz/vector-dot
Vector API cleanups
2016-04-06 16:48:18 +10:00
Brendan Zabarauskas f82c8826a2 Add doc comments for vector axes 2016-04-05 08:52:27 +10:00
Brendan Zabarauskas 41a7d1a22d Update changelog 2016-04-04 20:46:30 +10:00
Brendan Zabarauskas 90dbd29f6d Make some documentation more succinct 2016-04-04 20:45:37 +10:00
Brendan Zabarauskas f766973a74 Remove neg_self methods
These are a weird methods... they aren't associated with any traits. I think they were left-over from before we moved to operator impls.
2016-04-04 20:45:37 +10:00
Brendan Zabarauskas 019cac1f74 Add some links to wikipedia pages 2016-04-04 20:45:37 +10:00
Brendan Zabarauskas 40a3ad3185 Add a default implementation for EuclideanVector::angle 2016-04-04 20:45:37 +10:00
Brendan Zabarauskas 3b55ad5f70 Move Vector::from_value function to Array trait 2016-04-04 20:45:37 +10:00
Brendan Zabarauskas e0a5164967 Improve documentation for vector traits 2016-04-04 20:45:37 +10:00
Brendan Zabarauskas 2cd6f402df Move the dot method onto EuclideanVector
The Vector and EuclideanVector traits roughly line up with the concept of vector spaces and inner spaces respectively. It makes more sense to group `dot` with the other methods that depend on it.
2016-04-04 20:45:37 +10:00
Brendan Zabarauskas 84c2c0ff8a Merge pull request #314 from bjz/angles
Angle updates
2016-04-04 07:49:17 +10:00
Brendan Zabarauskas 1905354d26 Fix spelling 2016-04-03 13:56:26 +10:00
Brendan Zabarauskas 1b63ed3e88 Update changelog 2016-04-03 13:52:07 +10:00
Brendan Zabarauskas 1d33c231e3 Improve the documentation for some angle methods 2016-04-03 13:49:58 +10:00
Brendan Zabarauskas aa6fd71ab8 Move Angle::new to be implemented directly on angle types
This is more in keeping with most Rust APIs, and the other types in this library
2016-04-03 13:36:31 +10:00
Brendan Zabarauskas 40232ec063 Remove Angle::equiv
Thus relied on the == operator, which doesn't make sense for floats. It seems better to leave this up to clients to decide if they want to normalize.
2016-04-03 13:32:55 +10:00
Brendan Zabarauskas 0de8942748 Merge pull request #311 from bjz/rename-vector-length
Rename Vector::length to Vector::magnitude
2016-03-28 13:47:50 +11:00
Brendan Zabarauskas a080040274 Merge pull request #307 from bjz/element-wise
Remove extraneous operator overloads on vectors, and add ElementWise trait
2016-03-27 18:41:37 +11:00
Brendan Zabarauskas 5f7e47371e Merge remote-tracking branch 'origin/master' into element-wise 2016-03-27 16:43:20 +11:00
Brendan Zabarauskas d1fc22fab7 Fix benches 2016-03-27 16:40:17 +11:00
Brendan Zabarauskas 3218046bfa Merge pull request #309 from bjz/conv
Add constrained conversion functions
2016-03-27 16:38:59 +11:00
Brendan Zabarauskas fb5228f14f Clean up some function calls 2016-03-27 16:25:03 +11:00
Brendan Zabarauskas c9155dd7d9 Update changelog 2016-03-27 16:24:31 +11:00
Brendan Zabarauskas f7bc6dcc54 Rename Vector::length to Vector::magnitude 2016-03-27 16:17:11 +11:00
Brendan Zabarauskas 6c05339f69 Update changelog 2016-03-26 16:41:43 +11:00