Ensure no M_PI collision, add LSP support
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
#include <iostream>
|
||||
#include "shapes.h"
|
||||
|
||||
#ifndef M_PI
|
||||
#define M_PI 3.14159265359f
|
||||
#endif
|
||||
|
||||
Mesh cube(glm::vec3 scale, glm::vec2 textureScale, bool tilingTextures, bool inverted, glm::vec3 textureScale3d) {
|
||||
glm::vec3 points[8];
|
||||
|
||||
Reference in New Issue
Block a user