Initial commit

This commit is contained in:
2026-03-11 17:38:11 +08:00
commit 10a67d57c4
16 changed files with 8296 additions and 0 deletions

10
Utils.cpp Normal file
View File

@@ -0,0 +1,10 @@
#include "Utils.h"
#include <math.h>
#include <algorithm>
float srandom() {
float number = float(rand())/float(RAND_MAX);//0.0~1.0f
number *= 2.0f;//0.0~2.0
number -= 1.0f;//-1.0f~1.0f;
return number;
}