little progress on the connector idea
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user