fix build att 6

This commit is contained in:
Kolyah35
2026-03-19 19:31:52 +03:00
parent a72c2c4094
commit 78d218ccb1
4 changed files with 13 additions and 30 deletions

View File

@@ -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);

View File

@@ -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();