mirror of
https://github.com/jneug/zeichenmaschine.git
synced 2026-04-14 06:33:34 +02:00
Umrechnung Radian<->Grad
This commit is contained in:
@@ -227,6 +227,14 @@ public class Constants {
|
||||
return Math.pow(x, p);
|
||||
}
|
||||
|
||||
public static double radians( double angle ) {
|
||||
return Math.toRadians(angle);
|
||||
}
|
||||
|
||||
public static double degrees( double radians ) {
|
||||
return Math.toDegrees(radians);
|
||||
}
|
||||
|
||||
/**
|
||||
* Ermittelt den Sinus der Zahl <var>x</var>.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user