Buildings refactoring
This commit is contained in:
@@ -15,6 +15,7 @@ protected:
|
||||
|
||||
public:
|
||||
struct line_building_data {
|
||||
String id;
|
||||
String building_key;
|
||||
uint64_t building_key_hash;
|
||||
float line_offset;
|
||||
@@ -66,6 +67,7 @@ public:
|
||||
bool line_has_building(const String &line, const String &building_key);
|
||||
Vector3 get_point_by_offsets(const String &line, float dir_offset,
|
||||
float normal_offset);
|
||||
void update_buildings_from_lines();
|
||||
|
||||
private:
|
||||
void create_segments_from_lines();
|
||||
|
||||
Reference in New Issue
Block a user