Skip to content

Commit 32af28a

Browse files
committed
Clean up.
1 parent dc9cfc5 commit 32af28a

2 files changed

Lines changed: 14 additions & 14 deletions

File tree

examples/js/controls/OrbitControls.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@
805805

806806
this.constraint.minDistance = value;
807807

808-
},
808+
}
809809

810810
},
811811

@@ -821,7 +821,7 @@
821821

822822
this.constraint.maxDistance = value;
823823

824-
},
824+
}
825825

826826
},
827827

@@ -837,7 +837,7 @@
837837

838838
this.constraint.minZoom = value;
839839

840-
},
840+
}
841841

842842
},
843843

@@ -853,7 +853,7 @@
853853

854854
this.constraint.maxZoom = value;
855855

856-
},
856+
}
857857

858858
},
859859

@@ -869,7 +869,7 @@
869869

870870
this.constraint.minPolarAngle = value;
871871

872-
},
872+
}
873873

874874
},
875875

@@ -885,7 +885,7 @@
885885

886886
this.constraint.maxPolarAngle = value;
887887

888-
},
888+
}
889889

890890
},
891891

@@ -901,7 +901,7 @@
901901

902902
this.constraint.minAzimuthAngle = value;
903903

904-
},
904+
}
905905

906906
},
907907

examples/webgl_animation_skinning_blending.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
var container, stats;
4848

49-
var blendMesh, skeletonHelper, camera, scene, renderer, controls;
49+
var blendMesh, helper, camera, scene, renderer, controls;
5050

5151
var clock = new THREE.Clock();
5252
var gui = null;
@@ -186,7 +186,7 @@
186186
function onShowSkeleton( event ) {
187187

188188
var shouldShow = event.detail.shouldShow;
189-
skeletonHelper.visible = shouldShow;
189+
helper.visible = shouldShow;
190190

191191
}
192192

@@ -222,11 +222,11 @@
222222

223223
// Create the debug visualization
224224

225-
skeletonHelper = new THREE.SkeletonHelper( blendMesh );
226-
skeletonHelper.material.linewidth = 3;
227-
scene.add( skeletonHelper );
225+
helper = new THREE.SkeletonHelper( blendMesh );
226+
helper.material.linewidth = 3;
227+
scene.add( helper );
228228

229-
skeletonHelper.visible = false;
229+
helper.visible = false;
230230

231231
animate();
232232
}
@@ -244,7 +244,7 @@
244244
// modify blend weights
245245

246246
blendMesh.update( stepSize );
247-
skeletonHelper.update();
247+
helper.update();
248248
gui.update();
249249

250250
THREE.AnimationHandler.update( stepSize );

0 commit comments

Comments
 (0)