#collision #trait #collide

polygon

Trait for handling polygon implementations

2 unstable releases

Uses old Rust 2015

0.2.0 Nov 25, 2015
0.1.0 Nov 25, 2015

#26 in #polygon

GPL-2.0+

6KB

Polygon

A standard trait and set of implementations for managing polygons in rust.

Output Angles

For return values 0 is north and the angle increases clockwise.

Output Gradients

For output gradients, f64::INFINITY is returned for north, and the gradient decreases clockwise until f64::NEG_INFINITY.

No runtime deps