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
Brendan Zabarauskas
4e29dc1b2e
Merge pull request #385 from Marckvdv/patch-1
...
Implement component wise number casting for the Point and Matrix types.
2016-10-04 16:25:59 +11:00
Marckvdv
c9a9cad256
Added tests for the added cast functions of matrix and point.
2016-10-03 13:20:57 +02:00
Marckvdv
d2d35b808b
Added component wise casting number for the matrix and point types.
2016-10-03 12:51:41 +02:00
Brendan Zabarauskas
f6a68a1607
Merge pull request #382 from brendanzab/version-bump
...
Version bump
2016-09-14 23:37:37 +10:00
Brendan Zabarauskas
7184549222
Bump version and update changelog
2016-09-14 23:10:35 +10:00
Brendan Zabarauskas
4004fac155
Add Gitter badge
...
Closes #378
2016-09-14 23:00:44 +10:00
Brendan Zabarauskas
bbbfd00d4d
Merge pull request #379 from ozkriff/docs_rs
...
docs.rs
2016-09-06 17:47:51 +10:00
Andrey Lesnikov
8eb7614792
docs.rs
2016-09-05 22:01:27 +03:00
Brendan Zabarauskas
723e0fe96a
Merge pull request #376 from mhintz/remove-repr-packed
...
Removes #[repr(packed)] from all structs where it was specified.
2016-09-01 09:23:52 +10:00
Mark Hintz
f475822d9b
Removes #[repr(packed)] from all structs where it was specified.
...
This is intended as a partial fix for #375 . It doesn't also remove #[repr(C)],
since it's a bit unclear whether that's necessary.
2016-08-25 15:41:39 +02:00
Brendan Zabarauskas
5b92765647
Merge pull request #374 from adudney/use_approx
...
Changed over to the approx crate, updated glium and serde
2016-08-25 22:34:38 +10:00
Andrew Dudney
f43e2e13c7
Converted serde serialization to new style
2016-08-23 12:23:07 -06:00
Andrew Dudney
753609918e
Updated glium and serde
2016-08-22 17:22:15 -06:00
Andrew Dudney
0f8a96d9b8
Changed over to the approx crate. Currently breaks rotation's doc tests.
2016-08-22 09:21:22 -06:00
Brendan Zabarauskas
3296456da2
Merge pull request #372 from brendanzab/version-bump
...
Version bump
2016-08-18 01:03:07 +10:00
Brendan Zabarauskas
aaaedd7e6a
Bump version number
2016-08-17 23:10:50 +10:00
Brendan Zabarauskas
b06e3f2a3c
Update changelog
2016-08-17 23:10:27 +10:00
Brendan Zabarauskas
2dd4cae878
Fix more broken links
2016-08-17 23:03:39 +10:00
Brendan Zabarauskas
d3797724d3
Merge pull request #370 from adudney/tuple_structs
...
Moved angle types to tuple structs
2016-08-01 19:57:42 +10:00