Added a define for M_PI because of Windows

This commit is contained in:
Michael H. Gimle
2020-02-11 20:57:38 +01:00
committed by GitHub
parent e9ba8c1704
commit e76fe14861

View File

@@ -1,6 +1,8 @@
#include <iostream>
#include "shapes.h"
#define M_PI 3.14159265359f
Mesh cube(glm::vec3 scale, glm::vec2 textureScale, bool tilingTextures, bool inverted, glm::vec3 textureScale3d) {
glm::vec3 points[8];
int indices[36];