Commit Graph

1308 Commits

Author SHA1 Message Date
Daniel
9bb6325846 Made tests more readable 2015-08-08 14:52:57 +02:00
Daniel
dc571838bb Added check for symmetricity of input matrix 2015-08-07 15:03:38 +02:00
Daniel
b197959e2b Implemented Cholesky decomposition with tests 2015-08-07 14:44:25 +02:00
Sébastien Crozet
7e88b54a8e Merge pull request #144 from sebcrozet/travis_badge
Add Travis badge to the README.
2015-07-12 09:36:34 +02:00
Sébastien Crozet
ca129512ae Add Travis badge to the README.
Fix #140.
2015-07-12 09:35:10 +02:00
Sébastien Crozet
ce884e2c34 Release v0.2.20. 2015-07-12 09:32:45 +02:00
Sébastien Crozet
53b8737aca Merge pull request #143 from aryla/master
Fix multiplication of rectangular DMats.
2015-07-12 09:32:00 +02:00
Arttu Ylä-Outinen
75208896a3 Fix multiplication of non-square DMats.
Matrices were in wrong order.
2015-07-12 10:25:43 +03:00
Arttu Ylä-Outinen
8b14cef4e7 Add a test for multiplication of non-square DMats.
Demonstrates a bug in Mul implementation.
2015-07-12 09:42:31 +03:00
Sébastien Crozet
8711a8602e Merge pull request #141 from sebcrozet/no_identity_fail
Remove implementations of `Rotation`, `Translation` and `Transformation` for the `Identity` type.
2015-07-07 23:02:36 +02:00
Sébastien Crozet
4533117433 Release v0.2.19. 2015-07-07 22:55:41 +02:00
Sébastien Crozet
c13b0388ef Remove implementations of Rotation, Translation and Transformation for the Identity type.
Because most of their methods did not make sence for the (constant) identity matrix, they were set
to `panic!` at runtime whenever the user tried to use them. Instead, it is much safer to completely
forbid their use by removing the related trait implementation.

See sebcrozet/ncollide#87.
2015-07-07 22:40:14 +02:00
Sébastien Crozet
705a969e6d Release v0.2.18. 2015-06-23 21:04:31 +02:00
Sébastien Crozet
8dfb8ee7b9 Merge pull request #139 from mitchmindtree/master
Allow for non-consuming std operations on DMat. Added DMat multiplication test.
2015-06-23 21:03:38 +02:00
mitchmindtree
2efb30876e Added missing ops implementations for DMat 2015-06-21 01:08:23 +10:00
mitchmindtree
51381ff84d Allow for non-consuming std operations on DMat. Added DMat multiplication test. 2015-06-21 00:20:39 +10:00
Sébastien Crozet
792d7fda7a Merge pull request #138 from sebcrozet/fix_travis
Don't run benchmarks on travis.
2015-06-20 00:01:15 +02:00
Sébastien Crozet
cbd9ebad9f Don't run benchmarks on travis.
Benchmarks require `#[feature(test)]` which is not supported by the stable branch.
2015-06-19 23:48:27 +02:00
Sébastien Crozet
44df67bde2 Fix the README examples. 2015-06-06 14:28:34 +02:00
Sébastien Crozet
ee7efb5efc Release v0.2.17. 2015-06-06 13:01:31 +02:00
Sébastien Crozet
b3684bc912 Merge pull request #133 from sebcrozet/dmat_add_sub
Add pointwise addition and subtraction for `DMat`.
2015-06-06 13:01:02 +02:00
Sébastien Crozet
410c3c9566 Add pointwise addition and subtraction for DMat.
Fix #132.
2015-06-06 12:59:47 +02:00
Sébastien Crozet
981bc85e2a Release v0.2.16. 2015-06-01 23:10:46 +02:00
Sébastien Crozet
d13c42253d Merge pull request #131 from sebcrozet/rotation_to
Add the `RotationTo` trait to compute the delta rotation between two elements.
2015-06-01 23:09:44 +02:00
Sébastien Crozet
b859b32804 Add tests for ::angle_between and ::rotation_between. 2015-06-01 22:39:33 +02:00
Sébastien Crozet
ea86890647 Add the RotationTo trait to compute the delta rotation between two elements.
Use `::angle_between` or `.angle_to`  to compute the rotation angle between two vectors/rotation
matrices/unit quaternions.
Use `::rotation_between` or `.rotation_to` to compute the rotation matrix/unit quaternion to
transform a vector/rotation matrix/uniq quaternion to another.

Fix #130.
2015-06-01 22:39:27 +02:00
Sébastien Crozet
11bbf0ff11 Merge pull request #129 from sebcrozet/ncollide_fixes
Minor breaking changes needed by `ncollide`.
2015-05-25 14:58:18 +02:00
Sébastien Crozet
0d4673ac79 Release 0.2.15 2015-05-25 14:51:22 +02:00
Sébastien Crozet
ca87f9eb95 Rollup of minor beaking changes.
Use associated types for the `Outer` trait.
Add a `Repeat` trait for constructing a multidimensional value by repeating an element.
Split the `Diag` trait into `Diag` and `DiagMut`.
Implement `RustEncodable` for `Identity`.
2015-05-25 14:47:14 +02:00
Sébastien Crozet
bf4c27ae10 Releave v0.2.14 2015-05-14 09:03:46 +02:00
Sébastien Crozet
a0f2587ebe Merge pull request #127 from tinco/index_transmute_bug
This reference should not be mut
2015-05-11 19:09:49 +02:00
Tinco Andringa
b26a994659 This reference should not be mut 2015-05-09 16:23:53 +02:00
Sébastien Crozet
0b1969d4d5 Release v0.2.13 2015-05-09 00:03:05 +02:00
Sébastien Crozet
5f7b480827 Merge pull request #125 from tinco/add_neg_to_base_float
Add neg trait to BaseFloat
2015-05-08 23:55:00 +02:00
Sébastien Crozet
cea93fcad3 Merge pull request #124 from aepsil0n/remove-ops-hacks
Remove operator hacks
2015-05-08 23:44:35 +02:00
Tinco Andringa
83917cb4a4 Qualify the output of FloatVec Neg 2015-05-08 21:44:03 +02:00
Tinco Andringa
f0ce528903 Add neg trait to BaseFloat 2015-05-08 21:03:13 +02:00
Eduard Bopp
730dc40b01 Remove operator hacks
The LMul, RMul and Scalar* traits were only necessary due to language
limitations regarding trait bounds that are now gone. The Mat trait is now
expressed in terms of regular operator traits.

However, due to the removal of these traits this constitutes a breaking change.
2015-05-06 13:23:14 +02:00
Sébastien Crozet
350c8fb927 Release v0.2.12 2015-04-23 23:56:06 +02:00
Sébastien Crozet
2c6449b733 Merge pull request #122 from arturoc/master
fixes for latest rust
2015-04-23 23:55:18 +02:00
arturo castro
24fa9c7826 fixes for latest rust 2015-04-23 20:26:16 +02:00
Eduard Bopp
e3809ef06d Release v0.2.11 2015-04-22 19:18:45 +02:00
Sébastien Crozet
c98de73e30 Merge pull request #121 from sebcrozet/remove_deprecated
Remove all deprecated functions/traits.
2015-04-18 15:21:01 +02:00
Sébastien Crozet
8abec75c78 Merge pull request #120 from sebcrozet/num_zero_one
Use the `Zero` and `One` traits from the `num` crate.
2015-04-18 15:01:47 +02:00
Sébastien Crozet
36223991c1 Remove all deprecated functions/traits. 2015-04-18 14:58:38 +02:00
Sébastien Crozet
313ca1b8ae Use the Zero and One traits from the num crate.
Remove our own definitions of those traits.
Also fixes test-related attributes to make them compile again.
2015-04-18 14:38:34 +02:00
Sébastien Crozet
87ded7fa1e Merge pull request #117 from aepsil0n/num-float
Use Float trait from num crate.
2015-04-05 18:17:33 +02:00
Eduard Bopp
e453bfed47 Use Float trait from num crate 2015-04-04 17:53:25 +02:00
Eduard Bopp
0e7116e3bb Release version 0.2.10 2015-04-04 17:27:07 +02:00
Eduard Bopp
f4aadb79ae Merge pull request #116 from aepsil0n/frac2pi
frac_2_sqrt_pi renaming
2015-04-04 17:19:16 +02:00