Browse Source

degreesToRadians

remotes/origin/Khaled
Khaled 11 months ago
parent
commit
8e24306625
  1. 4
      src/c/funktionen.c

4
src/c/funktionen.c

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