Files
Gryphn-Utils/utils/math/gryphn_math.h
2025-07-09 13:28:18 -04:00

6 lines
243 B
C

#pragma once
#include <math.h>
static const inline float gnRadians(const float degrees) { return degrees * (3.14159265358979323846f / 180.0f); }
static const inline float gnRoot(const float input, const float n) { return pow(input, 1./n); }