first commit

This commit is contained in:
2026-02-21 17:11:31 +09:00
commit 18b4338361
4001 changed files with 365464 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#include "rm_utility.h"
RMUtility::RMUtility()
{
}
float RMUtility::range(float fmin, float fmax,float tmin, float tmax, float value)
{
const float newRange = tmax - tmin;
const float oldRange = fmax - fmin;
return ((((value - (fmin)) * newRange) / oldRange) + tmin);
}