Dzmitry Malyshau
7a21125c55
Refined serde dependencies
2017-06-06 16:48:55 -04: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
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
Mark Hintz
ec3385ceab
Remove unused imports
...
Fixes compile warnings
2016-05-11 13:21:56 +02:00
Brendan Zabarauskas
86c13ca14f
Switch to using num_traits crate from num
...
Fixes #336
2016-04-23 14:03:35 +10:00
Brendan Zabarauskas
8dd2874b59
Move traits into common module
2016-04-19 20:51:40 +10:00
Brendan Zabarauskas
429d2659fe
Improve fmt::Debug impls
2015-12-29 21:50:43 +11:00
Brendan Zabarauskas
612be7fecc
Move free trigonometric functions onto Angle trait
2015-12-13 23:51:00 +11:00
Brendan Zabarauskas
e76921881f
Remove operator methods on angles
2015-12-13 16:18:39 +11:00
Brendan Zabarauskas
7df65333cb
Simplify projection type parameters
2015-12-13 12:35:09 +11:00
Brendan Zabarauskas
a02b94fb70
Remove 'static constraints
...
These seem to be relics from an older Rust...
2015-12-13 12:24:30 +11:00
Brendan Zabarauskas
943a92e691
Remove collision types and traits from the library
...
Closes #244
2015-11-01 13:42:58 +11:00
Brendan Zabarauskas
5023b6c01e
Consistently use associated functions throughout codebase
2015-09-30 09:32:25 +10:00
Tim Neumann
0469935161
fix rfc 1214 fallout
2015-09-12 13:07:22 +02:00
Pierre Krieger
8ab8d7551d
Replace ToMatrix* by Into
2015-05-06 16:27:02 +02:00
Pierre Krieger
e5822e3864
Replace ToDeg/ToRad by From/Into
2015-05-06 16:27:02 +02:00
Dzmitry Malyshau
16302ffa20
Fixed the num crate
2015-04-24 23:28:31 -04:00
Dzmitry Malyshau
8db429acae
Using rust-lang/num
2015-04-04 21:19:11 -04:00
Jonathan Neuschäfer
4c527f8334
s/AUTHORS file/Cargo.toml file/
2015-03-18 17:51:03 +01:00
Dzmitry Malyshau
1e4271c2a6
Exposed Ortho fields as public (last time it was Perspective)
2015-03-18 01:04:21 +03:00
Dzmitry Malyshau
c20350336e
Exposed Ortho fields as public
2015-03-18 00:59:43 +03:00
Dzmitry Malyshau
fa3aacafcf
Improved Plane, fixed Frustum computation from Matrix4, implemented Frustum contains() tests.
2015-03-15 22:36:09 +03:00
Colin Sherratt
e064ea0e59
int to isize
2015-01-09 16:28:33 -07:00
Colin Sherratt
c0ce271e39
Updated to latest rustc
2015-01-09 15:06:45 -07:00
Connorcpu
22c2fe4755
Updated to rust nightly
2015-01-03 13:29:26 -08:00
Colin Sherratt
4bb12d6859
Switch to rustc_serialize
2014-12-26 16:18:29 -05:00
Jameson Ernst
5726e6c7dc
Add deriving Copy to all structs that would previously be inferred to be Copy
...
Remove use of deprecated Equiv trait
Remove unsed attributes
2014-12-12 17:06:52 -08:00
Eduard Bopp
9f8580eeca
Replace deprecated std::num traits
...
These traits are akin to the deprecated standard library traits (Zero, One,
Primitive) to keep everything running as before. However, for the long term a
better algebraic abstraction should be used/provided.
2014-11-20 16:28:02 +01:00
Darkspear7
7ae16b3423
Removed constraints on ortographic projection function to allow bigger values for left, bottom, near than right, top, far.
2014-11-03 15:50:27 +02:00
Colin Sherratt
aae8747595
Fix ortho projection matrix
2014-10-04 20:12:09 -04:00
Tomaka17
1b5da61ccb
Update for rustc 0e784e168 2014-09-16 23:26:11 +0000
2014-09-18 16:19:26 +02:00
bachm
825f5f2975
deriving Encodable, Decodable for all structs
2014-08-23 14:34:33 +02:00
Ben Foppa
784b9d8fa1
Fix inverted asserts
2014-07-18 11:55:53 -04:00
Erick Tryzelaar
1c5b6f0b7a
Update to compile with rust (9f8149e)
2014-06-25 21:26:15 -07:00
Corey Richardson
c9bdf838a5
Update for Cargo
2014-06-23 23:49:29 -07:00
Brendan Zabarauskas
c0a5b29af1
Move files into submodules
2013-07-08 17:02:04 +10:00
Brendan Zabarauskas
6fb6d57175
Use the Clone trait instead of Copy and switch from the copy keyword to calling the clone method.
...
impl_approx! is broken with a borrow issue. The library does not compile yet. Sorry!
2013-06-29 16:38:55 +10:00
maikklein
547ac400fd
explicit copy
2013-06-29 02:25:07 +02:00
Brendan Zabarauskas
9d99347bbf
Add types from cgmath
2013-06-16 17:34:09 +10:00
Brendan Zabarauskas
11e1623dad
Rename macros file
2013-06-16 17:32:48 +10:00
Brendan Zabarauskas
f20eca5cc5
Use macros and higher-order functions to reduce code repetition
2013-06-16 15:21:32 +10:00
Brendan Zabarauskas
f226ab2262
Re-organise modules
2013-06-12 10:02:39 +10:00
Brendan Zabarauskas
21ae345adc
Be more selective about inlining, #[inline(always)] -> #[inline] for functions other than map
2013-06-12 07:50:16 +10:00
Brendan Zabarauskas
17975b798d
De-traitify types, fix tests
2013-06-11 09:02:25 +10:00
Brendan Zabarauskas
3721167cdc
Fix std imports
2013-06-06 12:38:23 +10:00
Brendan Zabarauskas
d3bfcc194e
Add license/copyright notices to source files
2013-06-01 08:01:01 +10:00
Brendan Zabarauskas
ebf6a9529d
Use the new ApproxEq trait in core
2013-05-08 01:00:06 +10:00
Brendan Zabarauskas
0cb3314bf8
Use the new core::num traits and remove numeric dependency
2013-05-06 13:52:22 +10:00
Brendan Zabarauskas
a6acab93c3
Simplify trait bounds
...
Requires the latest version of numeric
2013-04-15 07:09:43 +10:00