Files
MinecraftConsoles/Minecraft.World/JavaMath.h
void_17 d63f79325f Get rid of MSVC's __int64
Use either int64_t, uint64_t or long long and unsigned long long, defined as per C++11 standard
2026-03-02 15:53:32 +07:00

19 lines
371 B
C++

#pragma once
#include "Random.h"
class Math
{
private:
static Random rand;
public:
static double random();
static int64_t round( double d );
static int _max(int a, int b);
static float _max(float a, float b);
static int _min(int a, int b);
static float _min(float a, float b);
static float wrapDegrees(float input);
static double wrapDegrees(double input);
};