samskivert / pythagoras

A portable library of geometry classes for Java
Apache License 2.0
44 stars 14 forks source link

Angle degrees #14

Closed bootstraponline closed 12 years ago

bootstraponline commented 12 years ago

Vector2's angle is in degrees. Pythagoras' vector only supports radians. Should an additional method be added that returns degrees?

samskivert commented 12 years ago

Pythagoras does everything in radians. If you want degrees, multiply the result by 180.