little progress on the connector idea

This commit is contained in:
Sebastian
2024-11-11 02:11:54 +01:00
parent 4f48aa2d5a
commit 31a1a264d4
4 changed files with 19 additions and 17 deletions
+2 -2
View File
@@ -51,11 +51,11 @@ namespace VISEQ::GRAPH::NODES {
if(pickedUp()) drag();
if(released()) putDown();
for(auto c : connectors){
c->update(position);
c->updatePosition(position);
c->update();
}
}
void draw(Vec2Df mouse_pos, Camera2D cam) override {}
};
typedef std::shared_ptr<VISEQ::GRAPH::NODES::Node> SPTR_Node;