Files
Gryphn-Utils/utils/math/gryphn_math.c
2025-08-03 15:49:57 -04:00

5 lines
196 B
C

#include "gryphn_math.h"
float gnRadians(const float degrees) { return degrees * (3.14159265358979323846f / 180.0f); }
float gnRoot(const float input, const float n) { return pow(input, 1./n); }