Commit graph

1344 commits

Author SHA1 Message Date
Brendan Zabarauskas e7d90d6a43 Merge pull request #365 from kvark/concat
Fixed Decomposed::concat
2016-07-04 11:48:28 +10:00
Dzmitry Malyshau ec2ad0061b Fixed Decomposed::concat 2016-07-03 00:21:02 -04:00
Brendan Zabarauskas 3701dbda05 Merge pull request #361 from bjz/bump-version-number
Bump version to v0.10.0
2016-06-05 20:41:42 +10:00
Brendan Zabarauskas 6e0cba4be7 Bump version to v0.10.0 2016-06-05 20:11:10 +10:00
Brendan Zabarauskas 2e36dd36bd Update changelog 2016-06-05 20:11:01 +10:00
Brendan Zabarauskas 7147180936 Merge pull request #359 from jminer/rotation-fixes
Rotation fixes
2016-05-18 00:19:43 +10:00
Brendan Zabarauskas 85ee08a592 Merge pull request #360 from Liotitch/master
Adds nightly serde support
2016-05-17 00:00:16 +10:00
Romain Vaillant bb5eed1af6 Add serde serialization test 2016-05-16 15:25:28 +02:00
Romain Vaillant 118ec262fd Adds ApproxEq for Decomposed 2016-05-16 15:22:37 +02:00
Romain Vaillant bfbbbe8445 Updates travis to support eders feature in nightly builds 2016-05-16 14:22:18 +02:00
Romain Vaillant cdbb9294e0 Adds serde support 2016-05-16 14:16:59 +02:00
Romain Vaillant f3673a1d4c makes rustc-serialize optional 2016-05-15 14:48:57 +02:00
Jordan Miner c11371794f Fix Euler angle to matrix conversion
The equations were written with rows horizontally instead of vertically
and some signs were wrong.
2016-05-12 01:28:16 -05:00
Jordan Miner b56119a42f Test converting axis angles to quaternions 2016-05-12 01:28:15 -05:00
Jordan Miner 467e87f3d3 Fix Euler angles to quaternion conversion and vise versa
Add tests that rotate a vector in all three axes, and tests to check
the axis rotation sequence.
2016-05-12 01:28:15 -05:00
Brendan Zabarauskas a7f4aa1756 Merge pull request #358 from bjz/rotation-one
Make Rotation trait depend on One
2016-05-12 12:13:15 +10:00
Brendan Zabarauskas a1d8eaed10 Make Rotation trait depend on One 2016-05-12 08:36:34 +10:00
Brendan Zabarauskas 8518ce78e8 Remove transforma_as_point method 2016-05-12 08:31:56 +10:00
Brendan Zabarauskas e873d4621b Merge pull request #357 from bjz/remove-affinematrix3-type
Remove AffineMatrix3
2016-05-12 08:01:16 +10:00
Brendan Zabarauskas 06a58e006b Remove AffineMatrix3 2016-05-11 23:09:34 +10:00
Brendan Zabarauskas aaabe6e478 Merge pull request #353 from mhintz/remove-unused-imports
Remove unused imports
2016-05-11 22:11:49 +10:00
Mark Hintz ec3385ceab Remove unused imports
Fixes compile warnings
2016-05-11 13:21:56 +02:00
Brendan Zabarauskas 32baeea31f Merge pull request #352 from bjz/remove-invert-self
Remove invert self methods
2016-05-11 15:10:24 +10:00
Brendan Zabarauskas 266f4c1d0d Fix export warning 2016-05-10 21:55:20 +10:00
Brendan Zabarauskas 65e744c8cd Remove self inversion methods 2016-05-10 21:55:11 +10:00
Brendan Zabarauskas a4763647ec Merge pull request #339 from bjz/num-traits
Re-export num-traits crate
2016-05-09 22:31:51 +10:00
Brendan Zabarauskas d08d00659c Merge pull request #347 from mhintz/matrixtransform
implement Transform for Matrix3 and Matrix4
2016-05-09 22:31:21 +10:00
Brendan Zabarauskas d4fea6dd06 Merge pull request #351 from danpalmer/patch-1
Fix typo and wording in README
2016-05-03 15:22:15 +10:00
Dan Palmer b0e07332b4 Fix typo and wording in README
"paramerise" -> "parameterize", and "more than useful" -> "more than enough" (which is better wording in the context I think).
2016-05-02 23:45:29 +01:00
Mark Hintz 074cb2c36f Change the name of methods on the Transform trait to avoid clashes
Transform::invert becomes Transform::inverse_transform, and Transform::invert_self becomes Transform::to_inverse. Tests passing for me now
2016-05-01 14:59:38 +02:00
Mark Hintz 0a78173e2b impl Transform (2 dimensional) for Matrix3 2016-04-28 16:37:36 +02:00
Mark Hintz a3539483b6 impl Transform (3 dimensional) for Matrix3 2016-04-28 16:37:36 +02:00
Mark Hintz ab1d3d8622 imple Transform (and Transform3) for Matrix4
The change in transform.rs is to disambiguate which invert function is used
2016-04-28 16:37:36 +02:00
Mark Hintz c32135a5d9 Move the From impls together 2016-04-28 16:37:36 +02:00
Brendan Zabarauskas f23374111f Merge pull request #348 from mhintz/rotation-ctors
implement from_angle{x, y, z} and from_axis_angle for Matrix4
2016-04-28 15:23:03 +10:00
Mark Hintz 808a17fc22 implement from_angle{x, y, z} and from_axis_angle for Matrix4
All are duplicates of the same functions for Matrix3, with extra parameters added in to make up the full 4x4
2016-04-28 01:03:33 +02:00
Brendan Zabarauskas 61681037b9 Merge pull request #346 from mhintz/angle-fix
Minor documentation fix - cotangent and secant were swapped
2016-04-28 07:32:00 +10:00
Mark Hintz c8b1d4b498 Minor documentation fix - cotangent and secant were swapped 2016-04-27 17:10:57 +02:00
Brendan Zabarauskas f8f10daaae Merge pull request #345 from bjz/inherit-one-zero
Integrate One and Zero traits into the algebraic trait heirachy
2016-04-25 20:21:52 +10:00
Brendan Zabarauskas 6b48236cb6 Inherit Zero and One for core structural traits 2016-04-25 15:26:56 +10:00
Brendan Zabarauskas 54adacc2a8 Re-export Zero and One via structure module 2016-04-25 11:43:28 +10:00
Brendan Zabarauskas e1de5e9330 Merge pull request #343 from bjz/vector1
Add Vector1 and Point1 structs
2016-04-25 09:19:31 +10:00
Brendan Zabarauskas 87911b3542 Merge pull request #342 from bjz/midpint-centroid
Add midpoint and centroid functions
2016-04-25 09:00:03 +10:00
Brendan Zabarauskas 4c2f301561 Add Vector1 and Point1 structs 2016-04-25 08:59:33 +10:00
Brendan Zabarauskas bb4ebbdd76 Add midpoint and centroid functions 2016-04-24 13:54:29 +10:00
Brendan Zabarauskas 87fcb62653 Merge pull request #340 from bjz/metric-space
Add MetricSpace trait for calculating distances
2016-04-24 11:48:17 +10:00
Brendan Zabarauskas 8795b179d7 Add MetricSpace trait for calculating distances 2016-04-23 19:58:34 +10:00
Brendan Zabarauskas 04073c724d Merge pull request #330 from bjz/euler
Switch to an Euler angle type for defining rotations
2016-04-23 17:44:12 +10:00
Brendan Zabarauskas dacb511b78 Add Euler::new function 2016-04-23 17:08:40 +10:00
Brendan Zabarauskas 437e2ec9f9 Document pitch/yaw/roll 2016-04-23 16:56:07 +10:00