diff --git a/src/c/funktionen.c b/src/c/funktionen.c index 456aac5..d741c2b 100644 --- a/src/c/funktionen.c +++ b/src/c/funktionen.c @@ -122,3 +122,7 @@ float arcTangent(float x) { return atan(x); } +// Function to convert degrees to radians +float degreesToRadians(float x) { + return x * (M_PI / 180); +}