Ang
Ang is a fork of the Angular crate to add various improvements.
Angular types and common helper methods to work with them while using the Rust type system in our favor.
Features
- Tested and documented,
- Safety without sacrificing performance and conversion related errors,
Usage
Everything evolves around the Angle<T>
type and its two variants
Degrees(v)
and Radians(v)
. This ensures proper typing and allows for safe
helper methods evolving around it.
extern crate ang;
use *;
use ;
let a = calc_hypotenuse;
let b = calc_hypotenuse;
let c = calc_hypotenuse;
assert!;
assert!;
Documentation
For an exhaustive documentation head over to the API docs.
License
This software is licensed under the terms of the MIT license. Please see the LICENSE for full details.