polar snapping now very goood!
This commit is contained in:
+2
-3
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user