diff --git a/Apps/Sandcastle/gallery/3D Tiles Clipping Planes.html b/Apps/Sandcastle/gallery/3D Tiles Clipping Planes.html index a790e19678dc..659492fb649f 100644 --- a/Apps/Sandcastle/gallery/3D Tiles Clipping Planes.html +++ b/Apps/Sandcastle/gallery/3D Tiles Clipping Planes.html @@ -55,7 +55,7 @@ }); var scene = viewer.scene; -var clipObjects = ['BIM', 'Point Cloud', 'Instanced', 'Model',]; +var clipObjects = ['BIM', 'Point Cloud', 'Instanced', 'Model']; var viewModel = { debugBoundingVolumesEnabled : false, edgeStylingEnabled : true, @@ -105,7 +105,7 @@ var scratchPlane = new Cesium.Plane(Cesium.Cartesian3.UNIT_X, 0.0); function createPlaneUpdateFunction(plane, transform) { return function () { - plane.distance = Cesium.Math.lerp(plane.distance, targetY, 0.1); + plane.distance = targetY; var transformedPlane = Cesium.Plane.transform(plane, transform, scratchPlane); transformedPlane.distance = -transformedPlane.distance;