Commit graph

1580 commits

Author SHA1 Message Date
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
Andrew Dudney
3d3b9c96ca Moved angle types to tuple structs 2016-07-31 20:40:31 -07:00
Brendan Zabarauskas
5a1656a461 Merge pull request #367 from adudney/MoreInto
Made uses of Rad<S> more generic using Into<Rad<S>>
2016-07-29 14:12:03 +10:00
Brendan Zabarauskas
03317ce925 Merge pull request #368 from adiultra/patch-1
Fixed broken link 😄
2016-07-29 14:08:42 +10:00
Aditya Singh
ec61355718 Fixed broken link 😄 2016-07-27 20:28:19 +05:30
Andrew Dudney
1b77875cc3 Fixed tests, now most use deg, and none use deg(x).into() 2016-07-26 17:53:16 -07:00
Andrew Dudney
17d98af64f Made uses of Rad<S> more generic using Into<Rad<S>> 2016-07-26 17:30:05 -07:00
Brendan Zabarauskas
3e6974baa8 Merge pull request #364 from kvark/arc
Quaternion closest arc
2016-07-06 13:34:28 +10:00
Dzmitry Malyshau
55c212bde1 Styling fixes to the quaternion arc code 2016-07-05 21:30:13 -04:00
Brendan Zabarauskas
e7d90d6a43 Merge pull request #365 from kvark/concat
Fixed Decomposed::concat
2016-07-04 11:48:28 +10:00
Dzmitry Malyshau
f555074a44 Quaternion closest arc 2016-07-03 00:23:46 -04: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