Ben Boeckel
|
1b57dc93a5
|
tests: add tests for Angle::normalize
|
2019-01-16 16:02:37 -05:00 |
|
Ben Boeckel
|
2d2c501074
|
Angle: add the normalize_signed method
This method is like `normalize` except that it normalizes to have an
absolute value of no more than `turn_div_2`.
|
2019-01-16 16:01:46 -05:00 |
|
Brendan Zabarauskas
|
574dd3b972
|
Run rustfmt on most files
|
2018-01-03 13:16:40 +11:00 |
|
Brendan Zabarauskas
|
ff2d15e0ff
|
Implement Sum for Angle
|
2017-04-26 21:56:02 +10:00 |
|
Andrew Dudney
|
0f8a96d9b8
|
Changed over to the approx crate. Currently breaks rotation's doc tests.
|
2016-08-22 09:21:22 -06:00 |
|
Andrew Dudney
|
3d3b9c96ca
|
Moved angle types to tuple structs
|
2016-07-31 20:40:31 -07:00 |
|
Brendan Zabarauskas
|
40232ec063
|
Remove Angle::equiv
Thus relied on the == operator, which doesn't make sense for floats. It seems better to leave this up to clients to decide if they want to normalize.
|
2016-04-03 13:32:55 +10:00 |
|
Brendan Zabarauskas
|
e76921881f
|
Remove operator methods on angles
|
2015-12-13 16:18:39 +11:00 |
|
Pierre Krieger
|
e5822e3864
|
Replace ToDeg/ToRad by From/Into
|
2015-05-06 16:27:02 +02:00 |
|
Jonathan Neuschäfer
|
4c527f8334
|
s/AUTHORS file/Cargo.toml file/
|
2015-03-18 17:51:03 +01:00 |
|
Colin Sherratt
|
662c7d7f68
|
cleanup some warnings around features
|
2015-02-08 13:36:33 -05:00 |
|
Colin Sherratt
|
c7270a9077
|
Update to latest rustc
|
2015-01-07 15:34:42 -07:00 |
|
Connorcpu
|
43cfdd94ec
|
Fixed macros with missing semicolons
|
2014-12-19 09:48:59 -08:00 |
|
Brendan Zabarauskas
|
379dc499ec
|
Publicly re-export everything from the root crate
Closes #100
|
2014-08-16 14:53:54 +10:00 |
|
Brendan Zabarauskas
|
8e5500d581
|
Switch to cargo
|
2014-08-11 16:15:14 +10:00 |
|