Browse Source

radiansToDegrees

remotes/origin/Khaled
Khaled 11 months ago
parent
commit
a4856692e6
  1. 6
      src/c/funktionen.c

6
src/c/funktionen.c

@ -126,3 +126,9 @@ float arcTangent(float x) {
float degreesToRadians(float x) {
return x * (M_PI / 180);
}
// Function to convert radians to degrees
float radiansToDegrees(float x) {
return x * (180 / M_PI);
}
Loading…
Cancel
Save