the final rename

This commit is contained in:
MihailRis 2024-05-06 03:38:19 +03:00
parent f27a418dbe
commit 1627e21c1d
196 changed files with 836 additions and 815 deletions

View file

@ -1,23 +0,0 @@
#ifndef MATHS_FASTMATHS_H_
#define MATHS_FASTMATHS_H_
#include "../typedefs.h"
class FastRandom {
uint seed;
public:
inline void setSeed(uint seed) {
this->seed = seed;
}
inline int rand() {
seed = (214013 * seed + 2531011);
return (seed>>16) & 0x7FFF;
}
inline float randFloat() {
return rand() / float(0x7FFF);
}
};
#endif // MATHS_FASTMATHS_H_