Commit graph

1572 commits

Author SHA1 Message Date
Matthew Plant
cea162df8c Added project_on to InnerSpace 2017-06-16 11:52:51 -07:00
Dzmitry Malyshau
d72fc08826 Mint flavour 2017-06-06 18:07:38 -04:00
Dzmitry Malyshau
7a21125c55 Refined serde dependencies 2017-06-06 16:48:55 -04:00
Dzmitry Malyshau
087336d0c0 Refinded simd feature 2017-06-06 16:44:13 -04:00
Brendan Zabarauskas
b87401be28 Merge pull request #414 from brendanzab/fix-matrix-inversions
Fix matrix inversions for small determinants
2017-05-13 19:11:57 +10:00
Brendan Zabarauskas
a0e370ff7b Fix matrix inversions for small determinants
Closes #210
2017-05-13 18:51:59 +10:00
Brendan Zabarauskas
09bcdc5cba Merge pull request #413 from brendanzab/remove-partial-ord
Remove PartialOrd
2017-05-13 18:27:59 +10:00
Brendan Zabarauskas
b6199ca702 Remove PartialOrd
Closes #396

This removes `PartialOrd` and makes `BaseNum` and `BaseFloat` simple trait aliases. This should allow more types to be used as parameters in the cgmath data types at the expense of removing `Array::min` and `Array::max`.
2017-05-06 17:12:52 +10:00
Brendan Zabarauskas
14277a07b1 Merge pull request #411 from brendanzab/version-bump
Bump cargo version to v0.14.1
2017-05-02 21:43:26 +10:00
Brendan Zabarauskas
f2943d77db Bump cargo version 2017-05-02 21:19:47 +10:00
Brendan Zabarauskas
cb31bbdef6 Clean up some type projections 2017-05-02 21:15:32 +10:00
Brendan Zabarauskas
bb7d342126 Merge pull request #410 from kennytm/workaround-rust-41478
Workaround rust-lang/rust#41478.
2017-05-02 21:05:08 +10:00
kennytm
f524d40403
Workaround rust-lang/rust#41478.
Replace all `impl .. for Struct<<A as Angle>::Unitless>` by
`Struct<A::Unitless>`. This allows -Zsave-analysis to work on nightly, and
I think this is more readable too.
2017-05-02 01:15:46 +08:00
Brendan Zabarauskas
bfd9fc1e66 Merge pull request #408 from brendanzab/version-bump
Bump cargo version to v0.14.0
2017-04-26 22:42:57 +10:00
Brendan Zabarauskas
536b5c5c36 Bump cargo version 2017-04-26 22:42:15 +10:00
Brendan Zabarauskas
bc26aa1d52 Simplify authors list
Sorry - this was too hard to maintain :(
2017-04-26 22:36:24 +10:00
Brendan Zabarauskas
1bd0cb285e Merge pull request #407 from brendanzab/sum-product-cleanups
Sum and Product cleanups
2017-04-26 22:30:25 +10:00
Brendan Zabarauskas
ff2d15e0ff Implement Sum for Angle 2017-04-26 21:56:02 +10:00
Brendan Zabarauskas
77260934a1 Clean up Sum and Product impls
This is for consistency with other impls
2017-04-26 21:56:02 +10:00
Brendan Zabarauskas
89c0da2a9e Merge pull request #406 from mathstuf/iter-sum-impl
iter traits: impl `iter::{Sum, Product}`
2017-04-26 01:25:30 +10:00
Ben Boeckel
240559b941 iter traits: impl iter::{Sum, Product}
This adds `Sum` trait for the `MatrixN`, `VectorN`, `Quaternion`
structures and the `Product` trait for `MatrixN`, `BasisN` and
`Quaternion`.

It also add constraints on the `Rotation` and `SquareMatrix` to require
the `Product` trait and `VectorSpace` to require `Sum`.
2017-04-25 11:01:18 -04:00
Brendan Zabarauskas
adbf511bc5 Merge pull request #405 from ebkalderon/master
Update serialization to serde v1.0
2017-04-23 10:17:59 +10:00
Eyal Kalderon
6717b4714b Update serialization to serde v1.0 2017-04-22 18:31:50 -04:00
Brendan Zabarauskas
da6e5437ea Merge pull request #403 from brendanzab/improve-ci-performance
Improve ci build parallelization
2017-04-16 18:38:56 +10:00
Brendan Zabarauskas
6ebb0eeb11 Improve ci build parallelization 2017-04-16 17:57:20 +10:00
Brendan Zabarauskas
f48c0ec58e Merge pull request #402 from brendanzab/drop-rustc-serialize-support
Drop rustc-serialize support
2017-04-16 17:16:45 +10:00
Brendan Zabarauskas
78555ec780 Drop rustc-serialize support
According to [Rust release milestone predictions](https://internals.rust-lang.org/t/rust-release-milestone-predictions/4591?u=dtolnay), rustc-serialize is scheduled to be deprecated in next month's beta release of Rust.

Closes #395
2017-04-16 16:35:24 +10:00
Brendan Zabarauskas
2512be97c5 Merge pull request #401 from brendanzab/bump-version
Bump cargo version to v0.13
2017-04-14 23:55:05 +10:00
Brendan Zabarauskas
d18ecda772 Bump cargo version 2017-04-14 23:36:02 +10:00
Brendan Zabarauskas
b73180e908 Workaround compilation error on nightly rust 2017-04-14 23:36:02 +10:00
Brendan Zabarauskas
613d2b7f23 Merge pull request #400 from andystanton/fix_between_vectors_for_opposite_vectors
Fix between_vectors for opposite vectors
2017-04-14 22:10:33 +10:00
Brendan Zabarauskas
e02eb9811a Merge pull request #399 from Mange/serde-09
Bump to serde 0.9
2017-04-14 21:51:17 +10:00
andystanton
cd9e873739 Fix between_vectors for opposite vectors 2017-04-14 00:23:02 +01:00
Magnus Bergmark
acd78f26da
Test serde on Travis 2017-04-04 23:48:41 +02:00
Magnus Bergmark
1c3d30a1e8
Bump to serde 0.9 2017-04-04 23:47:01 +02:00
Brendan Zabarauskas
920e47526d Merge pull request #389 from bitshifter/serde_derive
Use serde_derive instead of serde_macros.
2017-03-21 17:13:13 +11:00
Brendan Zabarauskas
e8cccf9742 Merge pull request #397 from phaazon/doc-typos
Fixed documentation typo(s)
2017-03-21 17:12:54 +11:00
Dimitri Sabadie
06bf49eee5 Added dots at end of some phrases. 2017-03-21 00:10:38 +01:00
Dimitri Sabadie
530895993f or or -> or a. 2017-03-21 00:03:10 +01:00
Dimitri Sabadie
b9f46af1ef subeset -> subset. 2017-03-21 00:00:45 +01:00
Brendan Zabarauskas
dcb83e0ab7 Merge branch 'master' into serde_derive 2017-03-17 22:38:44 +11:00
Brendan Zabarauskas
2a80973abf Merge pull request #394 from DaseinPhaos/master
Add basic SIMD support
2017-03-17 22:34:10 +11:00
Luxko
6bb3830a2e Merge pull request #1 from DaseinPhaos/patchendline0
Add newline at end of file
2017-03-12 07:47:40 -05:00
Luxko
194c4770e9 add basic SIMD support for Quaternion<f32> 2017-03-12 20:44:58 +08:00
Luxko
09c8727c7c Add newline at end of file 2017-03-12 15:59:06 +08:00
Luxko
17699b7ec3 fix build script 2017-02-25 20:47:43 +08:00
Luxko
68d1d27222 Add SIMD support for determinant and inverse
Also:
- Change the travis script: no use `cargo bench`ing in beta or stable.
- Add bench test for Matrix4's determinant().
- clean code a bit
2017-02-25 20:31:38 +08:00
Luxko
d45536f1bd Clean up a bit 2017-02-25 07:42:15 +08:00
Luxko
64924b954d [WIP]Add basic SIMD support
- Add an opt-in SIMD support for the module. The feature requires crate
`simd` and specialization, thus can only be enabled under nightly. Under
the given benchmark certain operations were able to be up to 60% faster.
Currently the supported types as well as operations are highly limited.
- Clean up some deadly tests. Also add new tests for SIMD.
2017-02-25 07:26:11 +08:00
Cameron Hart
4f13a96ae6 Use serde_derive instead of serde_macros. 2016-12-18 13:13:48 +11:00