polar snapping now very goood!

This commit is contained in:
Sebastian
2024-11-01 14:08:27 +01:00
parent 19b2c9549f
commit a10335ed47
8 changed files with 171 additions and 116 deletions
+2 -3
View File
@@ -1,6 +1,5 @@
#pragma once
#include <memory>
#include <raylib.h>
#include "edge.h"
@@ -17,9 +16,9 @@ class Node : public Movable, public GraphItem{
NodeType nodeType;
std::shared_ptr<Node> neighbor;
SPTR_Node neighbor;
std::vector<std::shared_ptr<Edge>> connections;
VEC_SPTR_Edge connections;
Distribution distributionMode = Distribution::GEOMETRIC;