Move ShapeType into the Shape object.

This commit is contained in:
Godzil
2020-03-09 15:57:23 +00:00
parent d514219ae6
commit 8437ab8753
11 changed files with 29 additions and 26 deletions

View File

@@ -13,7 +13,7 @@
#include <math_helper.h>
CSG::CSG(OperationType operation, Shape *left, Shape *right) : Shape(SHAPE_CSG), operation(operation), left(left), right(right)
CSG::CSG(OperationType operation, Shape *left, Shape *right) : Shape(Shape::CSG), operation(operation), left(left), right(right)
{
stats.addCsg();