mirror of
https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
synced 2026-03-20 23:13:33 +00:00
fix build att 6
This commit is contained in:
@@ -9,11 +9,6 @@ static Random _rand;
|
||||
|
||||
namespace Mth
|
||||
{
|
||||
constexpr float PI = 3.1415926535897932384626433832795028841971f; // exactly!
|
||||
constexpr float TWO_PI = 2.0f * PI; // exactly!
|
||||
constexpr float DEGRAD = PI / 180.0f;
|
||||
constexpr float RADDEG = 180.0f / PI;
|
||||
|
||||
static float _sin[65536];
|
||||
static const float _sinScale = 65536.0f / (2.0f * PI);
|
||||
|
||||
|
||||
@@ -6,11 +6,10 @@
|
||||
#include <algorithm>
|
||||
|
||||
namespace Mth {
|
||||
|
||||
extern const float PI;
|
||||
extern const float TWO_PI;
|
||||
extern const float RADDEG;
|
||||
extern const float DEGRAD;
|
||||
constexpr float PI = 3.1415926535897932384626433832795028841971f; // exactly!
|
||||
constexpr float TWO_PI = 2.0f * PI; // exactly!
|
||||
constexpr float DEGRAD = PI / 180.0f;
|
||||
const float RADDEG = 180.0f / PI;
|
||||
|
||||
void initMth();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user