mirror of
https://github.com/jhasse/poly2tri.git
synced 2024-11-26 15:26:12 +01:00
added #define for MSVC
This commit is contained in:
parent
56510a42f7
commit
b62d618841
@ -32,6 +32,9 @@
|
|||||||
#ifndef UTILS_H
|
#ifndef UTILS_H
|
||||||
#define UTILS_H
|
#define UTILS_H
|
||||||
|
|
||||||
|
// Otherwise #defines like M_PI are undeclared under Visual Studio
|
||||||
|
#define _USE_MATH_DEFINES
|
||||||
|
|
||||||
#include <exception>
|
#include <exception>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user