ents.visible = true;
						thresholdSegments.visible = true;

						break;

				}

			}

			function initGui() {

				gui = new GUI();

				gui.add( params, 'line type', { 'LineGeometry': 0, 'LineSegmentsGeometry': 1 } ).onChange( function ( val ) {

					switchLine( val );

				} ).setValue( 1 );

				gui.add( params, 'world units' ).onChange( function ( val ) {

					matLine.worldUnits = val;
					matLine.needsUpdate = true;

					matThresholdLine.worldUnits = val;
					matThresholdLine.needsUpdate = true