Skip to content

Commit

Permalink
fix: スナップ処理後の頂点がpoly_bufに反映されるように修正
Browse files Browse the repository at this point in the history
  • Loading branch information
yud0uhu committed Nov 7, 2024
1 parent 8b4acae commit 8d79093
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nusamai/src/sink/cesiumtiles/slice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ fn slice_polygon(
let snapped_vertex = snap_to_tile_boundary(vertex, &tile_bounds);
ring_buffer.push(snapped_vertex);
}
poly_buf.add_ring(ring_buffer.drain(..));
}

send_polygon(key, &poly_buf);
Expand Down

0 comments on commit 8d79093

Please sign in to comment.