two node snap for triangles

This commit is contained in:
Sebastian
2024-11-06 02:28:37 +01:00
parent 9878b7b2a4
commit 95620a5f07
6 changed files with 89 additions and 75 deletions
+2 -3
View File
@@ -21,9 +21,8 @@ namespace VISEQ::GRAPH::NODES {
Node(Vec2Df p) : Movable(p, 0.0f) {}
NodeType nodeType;
std::shared_ptr<Node> neighbor;
std::vector<std::shared_ptr<Node>> neighbors;
std::vector<std::shared_ptr<VISEQ::GRAPH::EDGES::Edge>> connections;
Distribution distributionMode = Distribution::GEOMETRIC;