diff --git a/examples/webgl_modifier_curve.html b/examples/webgl_modifier_curve.html index d2fc2d61b681359960290cb947f7d15ccc505aaa..0cabce59cabb4498d9bf8a74b96170c43fc4ed58 100644 --- a/examples/webgl_modifier_curve.html +++ b/examples/webgl_modifier_curve.html @@ -27,11 +27,10 @@ ACTION_NONE = 0; const curveHandles = []; - let stats, clock; + let stats; let scene, camera, renderer, - mixer, rayCaster, control, mouse, @@ -168,8 +167,6 @@ stats = new Stats(); document.body.appendChild( stats.dom ); - clock = new THREE.Clock(); - window.addEventListener( "resize", onWindowResize, false ); } @@ -214,14 +211,6 @@ function render() { - const delta = clock.getDelta(); - - if ( mixer ) { - - mixer.update( delta ); - - } - renderer.render( scene, camera ); stats.update(); diff --git a/examples/webgl_modifier_curve_instanced.html b/examples/webgl_modifier_curve_instanced.html index a4a8182effe97f2775a0af2498037b1123f73b5c..f82907436199e384d15a02d87e2fd0ef3118a708 100644 --- a/examples/webgl_modifier_curve_instanced.html +++ b/examples/webgl_modifier_curve_instanced.html @@ -27,11 +27,10 @@ ACTION_NONE = 0; const curveHandles = []; - let stats, clock; + let stats; let scene, camera, renderer, - mixer, rayCaster, control, mouse, @@ -199,8 +198,6 @@ stats = new Stats(); document.body.appendChild( stats.dom ); - clock = new THREE.Clock(); - window.addEventListener( "resize", onWindowResize, false ); } @@ -245,14 +242,6 @@ function render() { - const delta = clock.getDelta(); - - if ( mixer ) { - - mixer.update( delta ); - - } - renderer.render( scene, camera ); stats.update();