Include shapes.h and cmath instead of math.h

This commit is contained in:
Jan Niklas Hasse 2018-04-13 19:16:30 +02:00
parent 001b5cd9d5
commit 1ed5e089c5

View File

@ -35,8 +35,10 @@
// Otherwise #defines like M_PI are undeclared under Visual Studio
#define _USE_MATH_DEFINES
#include "shapes.h"
#include <cmath>
#include <exception>
#include <math.h>
// C99 removes M_PI from math.h
#ifndef M_PI