git-svn-id: svn://db.shs.com.ru/libs@309 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2017-10-30 13:35:04 +00:00
parent 489cf55906
commit 75a8ea9a54

View File

@@ -110,11 +110,15 @@ typedef QGLShaderProgram __GLShaderProgram__;
# define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
#endif
#ifdef CC_VC
#ifndef M_PI
# define M_PI 3.14159265358979323846
#endif
#define M_2PI 6.28318530717958647692
#define M_PI_3 1.04719755119659774615
#ifndef M_2PI
# define M_2PI 6.28318530717958647692
#endif
#ifndef M_PI_3
# define M_PI_3 1.04719755119659774615
#endif
#ifndef GL_RGBA16F
# define GL_RGBA16F GL_RGBA16F_ARB