move around some utils stuff

This commit is contained in:
Gregory Wells
2025-08-03 15:49:57 -04:00
parent c426f9ab6d
commit b5f0d16412
4 changed files with 137 additions and 123 deletions

View File

@@ -1,5 +1,5 @@
#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); }
float gnRadians(const float degrees);
float gnRoot(const float input, const float n);