summaryrefslogtreecommitdiff
path: root/assetFactory/modelFactoryMesh.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-02-16 23:54:22 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2023-02-16 23:54:22 +0000
commitc22c676dfee583bd48e1f962378f580f8310838b (patch)
treea060664c21934da0c54d54ac42f0a5ded5813498 /assetFactory/modelFactoryMesh.cpp
parentFirst cut of the model factory and the hardcoded Brush 47 model (diff)
downloadilt-c22c676dfee583bd48e1f962378f580f8310838b.tar.bz2
ilt-c22c676dfee583bd48e1f962378f580f8310838b.tar.xz
ilt-c22c676dfee583bd48e1f962378f580f8310838b.zip
Refactor so ModelFactoryMesh can define the smooth property on faces
Diffstat (limited to 'assetFactory/modelFactoryMesh.cpp')
-rw-r--r--assetFactory/modelFactoryMesh.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/assetFactory/modelFactoryMesh.cpp b/assetFactory/modelFactoryMesh.cpp
new file mode 100644
index 0000000..6c772ad
--- /dev/null
+++ b/assetFactory/modelFactoryMesh.cpp
@@ -0,0 +1,6 @@
+#include "modelFactoryMesh.h"
+
+ModelFactoryMesh::ModelFactoryMesh()
+{
+ add_property(smoothFaceProperty);
+}