Updated sdf code to work in C++

This commit is contained in:
Segey Lapin
2021-10-14 13:42:21 +03:00
parent 2c7a6af437
commit 8c4432031e
5 changed files with 77 additions and 287 deletions

View File

@@ -190,7 +190,7 @@ protected:
public:
void build(Ref<Curve> curve, Ref<OpenSimplexNoise> noise);
void draw_debug(Node *drawable, int size_x, int size_y) const;
Vector2 get_influence(int x, int y) const;
Vector2 get_influence(int x, int y, float radius) const;
RoadGrid();
~RoadGrid();
};