summaryrefslogtreecommitdiff
path: root/assetFactory/faceController.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2023-04-09 12:24:55 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2023-04-09 12:24:55 +0100
commitb222c21715384efc2eaa53d3ba295fb34da5b599 (patch)
tree66149833358cbadb891159fd0faf74ef221e5073 /assetFactory/faceController.h
parentSimplify extruding (diff)
downloadilt-b222c21715384efc2eaa53d3ba295fb34da5b599.tar.bz2
ilt-b222c21715384efc2eaa53d3ba295fb34da5b599.tar.xz
ilt-b222c21715384efc2eaa53d3ba295fb34da5b599.zip
Start to factor out geometric place from face controller split
Diffstat (limited to 'assetFactory/faceController.h')
-rw-r--r--assetFactory/faceController.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/assetFactory/faceController.h b/assetFactory/faceController.h
index 8d30dc6..0376241 100644
--- a/assetFactory/faceController.h
+++ b/assetFactory/faceController.h
@@ -1,5 +1,6 @@
#pragma once
+#include "geometricPlane.h"
#include "modelFactoryMesh_fwd.h"
#include "mutation.h"
#include "persistence.h"
@@ -10,10 +11,9 @@
class FaceController : public Mutation, public Style, public Persistence::Persistable {
public:
- class Split : public Persistable {
+ class Split : public Persistable, public GeometricPlane {
public:
std::string id;
- glm::vec3 origin, normal;
private:
friend Persistence::SelectionPtrBase<std::unique_ptr<Split>>;