refactor: 重构项目结构为 MVS 多示例版本,添加 README 文档

This commit is contained in:
2026-03-13 15:07:03 +08:00
parent faf99dfc68
commit 5efa171050
76 changed files with 23925 additions and 53 deletions

10
MVS/HelloEarth/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;
}