#angle #degree

radians

A crate for storing angles

8 releases

0.3.1 Feb 13, 2023
0.3.0 May 21, 2022
0.2.3 Apr 25, 2022
0.2.2 Mar 31, 2022
0.1.1 Feb 16, 2022

#325 in Math

Download history 38/week @ 2023-12-04 7/week @ 2023-12-11 11/week @ 2023-12-18 4/week @ 2023-12-25 4/week @ 2024-01-01 2/week @ 2024-01-08 23/week @ 2024-01-15 16/week @ 2024-01-22 23/week @ 2024-01-29 32/week @ 2024-02-05 87/week @ 2024-02-12 10/week @ 2024-02-19 87/week @ 2024-02-26 33/week @ 2024-03-04 25/week @ 2024-03-11 20/week @ 2024-03-18

165 downloads per month
Used in 3 crates

MIT/Apache

30KB
622 lines

radians

A crate for storing angles.

Exports the types Rad32 and Rad64 for dealing with angles in radians, as well as Wrap32 and Wrap64 for angles that automatically wrap around -π and +π.

Supports custom formatting in terms of degrees, minutes, and seconds, via the Rad{32, 64}.deg() method.

License: MIT OR Apache-2.0


lib.rs:

A crate for storing angles.

Exports the types Rad32 and Rad64 for dealing with angles in radians, as well as Wrap32 and Wrap64 for angles that automatically wrap around -π and +π.

Supports custom formatting in terms of degrees, minutes, and seconds, via the Rad{32, 64}.deg() method.

Dependencies

~74KB