diff --git a/docs/scenes/bones-browser.html b/docs/scenes/bones-browser.html index 969944596669e5..4ced6c66e4b899 100644 --- a/docs/scenes/bones-browser.html +++ b/docs/scenes/bones-browser.html @@ -44,7 +44,7 @@ WebGLRenderer } from "../../build/three.module.js"; - import { GUI } from '../../examples/jsm/libs/dat.gui.module.js'; + import { GUI } from '../../examples/jsm/libs/lil-gui.module.min.js'; import { OrbitControls } from '../../examples/jsm/controls/OrbitControls.js'; let gui, scene, camera, renderer, orbit, lights, mesh, bones, skeletonHelper; @@ -189,10 +189,10 @@ let folder = gui.addFolder( "General Options" ); folder.add( state, "animateBones" ); - folder.__controllers[ 0 ].name( "Animate Bones" ); + folder.controllers[ 0 ].name( "Animate Bones" ); folder.add( mesh, "pose" ); - folder.__controllers[ 1 ].name( ".pose()" ); + folder.controllers[ 1 ].name( ".pose()" ); const bones = mesh.skeleton.bones; @@ -214,17 +214,17 @@ folder.add( bone.scale, 'y', 0, 2 ); folder.add( bone.scale, 'z', 0, 2 ); - folder.__controllers[ 0 ].name( "position.x" ); - folder.__controllers[ 1 ].name( "position.y" ); - folder.__controllers[ 2 ].name( "position.z" ); + folder.controllers[ 0 ].name( "position.x" ); + folder.controllers[ 1 ].name( "position.y" ); + folder.controllers[ 2 ].name( "position.z" ); - folder.__controllers[ 3 ].name( "rotation.x" ); - folder.__controllers[ 4 ].name( "rotation.y" ); - folder.__controllers[ 5 ].name( "rotation.z" ); + folder.controllers[ 3 ].name( "rotation.x" ); + folder.controllers[ 4 ].name( "rotation.y" ); + folder.controllers[ 5 ].name( "rotation.z" ); - folder.__controllers[ 6 ].name( "scale.x" ); - folder.__controllers[ 7 ].name( "scale.y" ); - folder.__controllers[ 8 ].name( "scale.z" ); + folder.controllers[ 6 ].name( "scale.x" ); + folder.controllers[ 7 ].name( "scale.y" ); + folder.controllers[ 8 ].name( "scale.z" ); } diff --git a/docs/scenes/geometry-browser.html b/docs/scenes/geometry-browser.html index 3b545f7bb64e0c..8f9ba69eeb1d9f 100644 --- a/docs/scenes/geometry-browser.html +++ b/docs/scenes/geometry-browser.html @@ -64,7 +64,7 @@ WebGLRenderer } from '../../build/three.module.js'; - import { GUI } from '../../examples/jsm/libs/dat.gui.module.js'; + import { GUI } from '../../examples/jsm/libs/lil-gui.module.min.js'; import { OrbitControls } from '../../examples/jsm/controls/OrbitControls.js'; const twoPi = Math.PI * 2; diff --git a/docs/scenes/material-browser.html b/docs/scenes/material-browser.html index 6d86fd36ee7a9a..5816d92375b4a5 100644 --- a/docs/scenes/material-browser.html +++ b/docs/scenes/material-browser.html @@ -28,7 +28,7 @@