v1.3.0: implemented new radial menus and made a bunch of keybind changes
This commit is contained in:
@@ -138,7 +138,11 @@ public class PointF {
|
||||
float dy = a.y - b.y;
|
||||
return (float)Math.sqrt( dx * dx + dy * dy );
|
||||
}
|
||||
|
||||
|
||||
public static float angle( float x, float y ) {
|
||||
return (float)Math.atan2( y, x );
|
||||
}
|
||||
|
||||
public static float angle( PointF start, PointF end ) {
|
||||
return (float)Math.atan2( end.y - start.y, end.x - start.x );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user