mirror of
https://github.com/jhasse/poly2tri.git
synced 2025-08-07 07:45:39 +02:00
added #define for MSVC
This commit is contained in:
@@ -32,6 +32,9 @@
|
||||
#ifndef UTILS_H
|
||||
#define UTILS_H
|
||||
|
||||
// Otherwise #defines like M_PI are undeclared under Visual Studio
|
||||
#define _USE_MATH_DEFINES
|
||||
|
||||
#include <exception>
|
||||
#include <math.h>
|
||||
|
||||
|
Reference in New Issue
Block a user