Commit graph

1366 commits

Author SHA1 Message Date
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
Brendan Zabarauskas 813b4aa5c2 Add constrained conversion functions 2016-03-26 16:41:31 +11:00
Brendan Zabarauskas 352b8fe381 Remove obsolete benchmarks 2016-03-26 13:39:22 +11:00
Brendan Zabarauskas 98b6a740b6 Update changelog 2016-03-26 13:35:31 +11:00
Brendan Zabarauskas 8d10f1dc6d Remove extraneous operator overloads on vectors, and add Elementwise trait 2016-03-26 13:28:49 +11:00
Brendan Zabarauskas bf4637352e Merge pull request #306 from bjz/add-prelude
Add prelude module for easy importing of common traits
2016-03-25 15:44:14 +11:00
Brendan Zabarauskas 31b8a91793 Update changelog 2016-03-25 15:30:44 +11:00
Brendan Zabarauskas 652ec87dd8 Add prelude module 2016-03-25 15:27:57 +11:00
Brendan Zabarauskas 4200b75c6d Merge pull request #304 from bjz/repr-c
Mark some types as #[repr(C, packed)]
2016-03-25 12:52:29 +11:00
Brendan Zabarauskas df89ec262c Update changelog 2016-03-25 12:47:10 +11:00
Brendan Zabarauskas 3d55187a7d Mark some types as #[repr(C, packed)]
Closes #296
2016-03-25 12:42:17 +11:00
Brendan Zabarauskas 49cac4d894 Merge pull request #303 from bjz/points
Improve documentation for the Point trait
2016-03-25 11:48:45 +11:00
Brendan Zabarauskas 667888a0c5 Improve documentation for the Point trait 2016-03-24 22:56:21 +11:00
Brendan Zabarauskas a502ee9fca Merge pull request #298 from bitshifter/docfix
Small doc fix for EuclideanVector trait
2016-02-18 08:25:10 +11:00
Cameron Hart 73c34e9f05 Small doc fix for EuclideanVector trait 2016-02-17 22:43:41 +11:00
Brendan Zabarauskas 9281295891 Merge pull request #295 from bitshifter/scalarops
Scalar arithmetic operators for Matrix types
2016-01-02 18:42:21 +11:00
Cameron Hart e773da36d2 Removed constant only used on one place 2016-01-02 16:15:49 +11:00
Cameron Hart 24a21d5fc6 Added scalar arithmetic operators for Matrix types 2016-01-02 16:11:16 +11:00
Cameron Hart 15b14c1e87 Rename vector identifier to point 2016-01-02 16:10:35 +11:00
Brendan Zabarauskas 58cde94eb7 Merge pull request #293 from bitshifter/scalarops
Support for scalar on the lhs of arithmetic operators
2016-01-02 14:38:42 +11:00