diff --git a/demo/cesium/3dtiles.html b/demo/cesium/3dtiles.html
index 074832c8c..6f4df7cfe 100644
--- a/demo/cesium/3dtiles.html
+++ b/demo/cesium/3dtiles.html
@@ -71,7 +71,8 @@
viewer.scene.globe.depthTestAgainstTerrain = true;
const tileset = await Cesium.Cesium3DTileset.fromUrl(
- "/examples/3dtiles/tileset.json"
+ "./examples/3dtiles_textured/tileset.json",
+ { enableDebugWireframe: true }
);
viewer.scene.primitives.add(tileset);
viewer.zoomTo(tileset);
diff --git a/nusamai/src/sink/cesiumtiles/slice.rs b/nusamai/src/sink/cesiumtiles/slice.rs
index 295ecbd47..00575b9c3 100644
--- a/nusamai/src/sink/cesiumtiles/slice.rs
+++ b/nusamai/src/sink/cesiumtiles/slice.rs
@@ -255,8 +255,6 @@ fn slice_polygon(
for yi in y_range.clone() {
let (k1, k2) = tiling::y_slice_range(zoom, yi);
- // todo?: check interior bbox to optimize
-
for (ri, (ring, uv_ring)) in poly.rings().zip_eq(poly_uv.rings()).enumerate() {
if ring.raw_coords().is_empty() {
continue;
@@ -335,8 +333,6 @@ fn slice_polygon(
for (xi, xs) in x_iter {
let (k1, k2) = tiling::x_slice_range(zoom, xi, xs);
- // todo?: check interior bbox to optimize ...
-
let key = (
zoom,
xi.rem_euclid(1 << zoom) as u32, // handling geometry crossing the antimeridian