From d0b27d0e10cfaefa990e83b738e71f450c3155fd Mon Sep 17 00:00:00 2001 From: lindsay Date: Thu, 12 Oct 2023 14:57:48 +0200 Subject: [PATCH] Example tweak --- .../measurement/distance_createWithMouse_snapping.html | 8 -------- 1 file changed, 8 deletions(-) diff --git a/examples/measurement/distance_createWithMouse_snapping.html b/examples/measurement/distance_createWithMouse_snapping.html index 63b55024ad..5e13e25761 100644 --- a/examples/measurement/distance_createWithMouse_snapping.html +++ b/examples/measurement/distance_createWithMouse_snapping.html @@ -142,14 +142,6 @@

Resources

viewer.camera.look = [4.40, 3.72, 8.89]; viewer.camera.up = [-0.01, 0.99, 0.039]; - - //------------------------------------------------------------------------------------------------------------------ - // Vertex-snapping mode - //------------------------------------------------------------------------------------------------------------------ - - viewer.cameraControl.snapMode = "vertex"; // Snap to nearest vertex - viewer.cameraControl.snapRadius = 30; // 30 pixels snapping radius - //------------------------------------------------------------------------------------------------------------------ // Load a model //------------------------------------------------------------------------------------------------------------------