mirror of
https://github.com/glfw/glfw.git
synced 2026-08-27 22:15:55 +02:00
@@ -24,6 +24,11 @@
|
||||
//
|
||||
//========================================================================
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
// Make MS math.h define M_PI
|
||||
#define _USE_MATH_DEFINES
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
@@ -43,11 +48,6 @@
|
||||
#define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
|
||||
#endif // GL_EXT_separate_specular_color
|
||||
|
||||
// Some <math.h>'s do not define M_PI
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.141592654
|
||||
#endif
|
||||
|
||||
|
||||
//========================================================================
|
||||
// Type definitions
|
||||
|
||||
Reference in New Issue
Block a user