Adding rotation support for offsets
This commit is contained in:
@@ -19,6 +19,7 @@ public:
|
||||
uint64_t building_key_hash;
|
||||
float line_offset;
|
||||
float normal_offset;
|
||||
float y_rotation;
|
||||
};
|
||||
struct line_segment {
|
||||
Vector3 p1;
|
||||
@@ -55,7 +56,8 @@ public:
|
||||
int get_debug_flags() const;
|
||||
void update_line_segments(const String &line);
|
||||
void line_add_building(const String &line, const String &key,
|
||||
float curve_offset, float normal_offset);
|
||||
float curve_offset, float normal_offset,
|
||||
float y_rotation);
|
||||
void assign_close_buildings(const String &line);
|
||||
bool line_has_building(const String &line, const String &building_key);
|
||||
Vector3 get_point_by_offsets(const String &line, float dir_offset,
|
||||
|
||||
Reference in New Issue
Block a user