nodes: implemented shape generator

This commit is contained in:
itsmattkc
2021-08-03 11:55:31 -07:00
parent 8954271e87
commit 330a37da92
10 changed files with 319 additions and 3 deletions
+5 -1
View File
@@ -46,7 +46,11 @@
namespace olive {
#define NODE_DEFAULT_DESTRUCTOR(x) virtual ~x() override {DisconnectAll();}
#define NODE_DEFAULT_DESTRUCTOR(x) \
virtual ~x() override {DisconnectAll();}
#define NODE_COPY_FUNCTION(x) \
virtual Node *copy() const override {return new x();}
class NodeGraph;
class Folder;