Commit graph

1426 commits

Author SHA1 Message Date
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
Cameron Hart
9096e409d1 Added scalar arithmetic operators for Quaternions 2016-01-02 11:13:27 +11:00
Cameron Hart
3febc46d5a Added scalar arithmetic operators for Point types 2016-01-02 10:14:47 +11:00
Cameron Hart
1e6f615f9e Split arithmetic operator tests into per op tests 2016-01-02 09:12:13 +11:00
Cameron Hart
62b6c961a4 Test by-ref arithmetic operators against by-val results 2016-01-02 08:57:16 +11:00
Cameron Hart
043a63c45a Expand vector aritmetic operator tests
Add test for vector on vector operators and different permutations
of vector references.
2016-01-02 00:18:48 +11:00
Cameron Hart
338c494735 Make macro usage more like existing style 2016-01-02 00:09:11 +11:00
Cameron Hart
7426d8d807 Support for scalar on the lhs of arithmetic operators 2016-01-01 18:05:32 +11:00
Brendan Zabarauskas
6cf7831275 Merge pull request #292 from bjz/debug-impls
Improve and add Debug impls
2015-12-29 22:07:22 +11:00
Brendan Zabarauskas
a1b6c1092c Update changelog 2015-12-29 21:54:52 +11:00
Brendan Zabarauskas
429d2659fe Improve fmt::Debug impls 2015-12-29 21:50:43 +11:00
Brendan Zabarauskas
2449a283a2 Merge pull request #291 from bjz/cleanup-matrix-tests
Clean up matrix tests
2015-12-29 16:03:26 +11:00
Brendan Zabarauskas
fb722e1dac Clean up matrix tests 2015-12-29 15:49:01 +11:00
Brendan Zabarauskas
4cca70a457 Merge pull request #289 from AnthIste/readme-urls
Fix Travis and License URLs in README.md
2015-12-25 08:32:24 +11:00
AnthIste
b0fc6f0acb Fix Travis and License URLs in README.md 2015-12-24 17:43:58 +02:00
Brendan Zabarauskas
8f46a524b6 Merge pull request #288 from bjz/AnthIste/readme-url-changes
Update GitHub links from cgmath-rs to cgmath
2015-12-24 10:00:40 +11:00
AnthIste
36151b1795 Update GitHub links from cgmath-rs to cgmath 2015-12-23 21:03:49 +02:00
Brendan Zabarauskas
aa922eb137 Merge pull request #287 from bjz/update-changelog
Update changelog
2015-12-23 17:45:08 +11:00
Brendan Zabarauskas
ab61b9619f Update changelog 2015-12-23 17:44:13 +11:00
Brendan Zabarauskas
e678b6e0db Merge pull request #286 from bjz/version-bump
Bump version to 0.7.0
2015-12-23 17:39:28 +11:00
Brendan Zabarauskas
a6da4d1d37 Bump version number 2015-12-23 17:30:50 +11:00
Brendan Zabarauskas
33511ee52a Retarget repository URL 2015-12-23 17:30:50 +11:00
Brendan Zabarauskas
0875ea4444 Merge pull request #284 from DerekBurch/fix-matrix3-to-quaternion
Fix conversion from Matrix3 to Quaternion
2015-12-23 13:12:03 +11:00
derekburch
744fb78662 Fix conversion from Matrix3 to Quaternion 2015-12-22 17:53:06 -08:00
Brendan Zabarauskas
f60e85b61a Merge pull request #282 from bjz/assignment-ops
Implement most assignment operators
2015-12-23 07:35:16 +11:00
Brendan Zabarauskas
0613befee2 Merge pull request #283 from bjz/quat-magnitude
Make Quaternion::magnitude pass self by-value
2015-12-22 23:30:29 +11:00
Brendan Zabarauskas
e9dc8404ef Make Quaternion::magnitude pass self by-value 2015-12-22 23:14:16 +11:00
Brendan Zabarauskas
4c8fc61e23 Fix benchmarks 2015-12-22 22:55:59 +11:00
Brendan Zabarauskas
ef34770a4b Update changelog 2015-12-22 22:37:56 +11:00
Brendan Zabarauskas
59d5e6f53a Implement most assignment operators 2015-12-22 22:34:34 +11:00
Brendan Zabarauskas
1b4420d2af Merge pull request #281 from bjz/matrix-ops
Implement all by-ref/val permutations of matrix operators, and remove operator methods
2015-12-22 08:03:52 +11:00
Brendan Zabarauskas
8c05db962a Implement by-ref negations for matrices 2015-12-22 00:43:15 +11:00
Brendan Zabarauskas
23c632acca Use SquareMatrix::ColumnRow instead of Matrix::Column 2015-12-21 22:10:28 +11:00
Brendan Zabarauskas
0014bb22a5 Update Changelog 2015-12-21 21:02:56 +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
32a981161a Merge pull request #279 from bjz/angle-api-cleanups
Angle api cleanups
2015-12-14 07:13:51 +11:00
Brendan Zabarauskas
ec3ff846fd Update changelog 2015-12-14 04:47:33 +11:00
Brendan Zabarauskas
519af35d71 Remove Angle % Angle::Unitless 2015-12-14 04:42:02 +11:00
Brendan Zabarauskas
db35af6ae9 Angle % Angle should return an Angle 2015-12-14 04:40:09 +11:00
Brendan Zabarauskas
44e4ce1024 Update changelog 2015-12-13 23:52:00 +11:00
Brendan Zabarauskas
1cc11d2c8b Simplify method implementations using From::from 2015-12-13 23:51:46 +11:00