You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Dead code tells no tales
This commit is contained in:
@@ -28,16 +28,13 @@
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
#include "math_funcs.h"
|
||||
|
||||
#include "core/os/os.h"
|
||||
|
||||
pcg32_random_t Math::default_pcg = { 12047754176567800795ULL, PCG_DEFAULT_INC_64 };
|
||||
|
||||
#define PHI 0x9e3779b9
|
||||
|
||||
#if 0
|
||||
static uint32_t Q[4096];
|
||||
#endif
|
||||
|
||||
// TODO: we should eventually expose pcg.inc too
|
||||
uint32_t Math::rand_from_seed(uint64_t *seed) {
|
||||
pcg32_random_t pcg = { *seed, PCG_DEFAULT_INC_64 };
|
||||
|
||||
Reference in New Issue
Block a user