mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
define M_PI if needed
This commit is contained in:
parent
04fcc4cf1e
commit
30c65c3c62
1 changed files with 4 additions and 0 deletions
|
|
@ -16,6 +16,10 @@
|
|||
#include "trackball.h"
|
||||
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265358979323846
|
||||
#endif
|
||||
|
||||
#define DEG_TO_RAD(DEG) ((DEG) * M_PI / 180.0)
|
||||
|
||||
#define TEXTURE_FILE "../images/reflect.rgb"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue