mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-13 02:28:44 +08:00
[cpp] MSVC doesn't understand constant.
This commit is contained in:
parent
1b74ed22e3
commit
b724853158
@ -37,10 +37,10 @@
|
||||
#include <string.h>
|
||||
|
||||
namespace spine {
|
||||
float PI = 3.1415926535897932385f;
|
||||
float PI_2 = PI * 2;
|
||||
float DEG_RAD = (PI / 180.0f);
|
||||
float RAD_DEG = (180.0f / PI);
|
||||
static const float PI = 3.1415926535897932385f;
|
||||
static const float PI_2 = PI * 2;
|
||||
static const float DEG_RAD = (PI / 180.0f);
|
||||
static const float RAD_DEG = (180.0f / PI);
|
||||
|
||||
class MathUtil : public SpineObject {
|
||||
private:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user