Removed script from editor

This commit is contained in:
2024-09-20 16:06:27 +03:00
parent 43c312e371
commit 9ad8bb2620
8 changed files with 336 additions and 97 deletions

View File

@@ -7,7 +7,6 @@ class RoadLinesData {
String road_lines_path;
uint32_t road_lines_hash(const Vector3 &v);
static ImmediateGeometry *debug_im;
static ImmediateGeometry *get_debug_node();
protected:
RoadLinesData();
@@ -15,6 +14,7 @@ protected:
_Signal<void> lines_updated;
public:
static ImmediateGeometry *get_debug_node();
struct road_line {
std::vector<Transform> points;
std::vector<int> indices;
@@ -38,6 +38,7 @@ public:
int get_debug_flags() const;
private:
void create_segments_from_lines();
void index_lines(std::unordered_map<uint32_t, std::vector<Vector3> >
&road_lines_nodes_hash,
std::vector<Vector3> &road_lines_nodes);