diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-02 06:09:21 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-04-02 06:09:21 +0200 |
| commit | eed15d9a39d2cc3886bcd5025f70a230ad59d316 (patch) | |
| tree | e19725e4a566a42e7f028e96193af1d23535bfb6 /src | |
| parent | ab16b95656fbcf719604072263f8375cd80213c2 (diff) | |
a
Diffstat (limited to 'src')
| -rw-r--r-- | src/chunk-scenery.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chunk-scenery.cpp b/src/chunk-scenery.cpp index 7852088f..134a1e44 100644 --- a/src/chunk-scenery.cpp +++ b/src/chunk-scenery.cpp @@ -104,8 +104,8 @@ auto chunk::make_topo_sort_data(entity& e) -> topo_sort_data { data.slope = (bb_max[1]-bb_min[1])/bb_len; data.mode = topo_sort_data::mode_static; - data.bb_min = Vector2s(bb_min); - data.bb_max = Vector2s(bb_max); + data.bb_min = Vector2s(bb_min - px_start); + data.bb_max = Vector2s(bb_max - px_start); } break; } |
