Skip to content

Commit

Permalink
Example tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Oct 12, 2023
1 parent 63e4197 commit d0b27d0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions examples/measurement/distance_createWithMouse_snapping.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,6 @@ <h3>Resources</h3>
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
//------------------------------------------------------------------------------------------------------------------
Expand Down

0 comments on commit d0b27d0

Please sign in to comment.