提交 32af28a4 编写于 作者: M Mr.doob

Clean up.

上级 dc9cfc52
......@@ -805,7 +805,7 @@
this.constraint.minDistance = value;
},
}
},
......@@ -821,7 +821,7 @@
this.constraint.maxDistance = value;
},
}
},
......@@ -837,7 +837,7 @@
this.constraint.minZoom = value;
},
}
},
......@@ -853,7 +853,7 @@
this.constraint.maxZoom = value;
},
}
},
......@@ -869,7 +869,7 @@
this.constraint.minPolarAngle = value;
},
}
},
......@@ -885,7 +885,7 @@
this.constraint.maxPolarAngle = value;
},
}
},
......@@ -901,7 +901,7 @@
this.constraint.minAzimuthAngle = value;
},
}
},
......
......@@ -46,7 +46,7 @@
var container, stats;
var blendMesh, skeletonHelper, camera, scene, renderer, controls;
var blendMesh, helper, camera, scene, renderer, controls;
var clock = new THREE.Clock();
var gui = null;
......@@ -186,7 +186,7 @@
function onShowSkeleton( event ) {
var shouldShow = event.detail.shouldShow;
skeletonHelper.visible = shouldShow;
helper.visible = shouldShow;
}
......@@ -222,11 +222,11 @@
// Create the debug visualization
skeletonHelper = new THREE.SkeletonHelper( blendMesh );
skeletonHelper.material.linewidth = 3;
scene.add( skeletonHelper );
helper = new THREE.SkeletonHelper( blendMesh );
helper.material.linewidth = 3;
scene.add( helper );
skeletonHelper.visible = false;
helper.visible = false;
animate();
}
......@@ -244,7 +244,7 @@
// modify blend weights
blendMesh.update( stepSize );
skeletonHelper.update();
helper.update();
gui.update();
THREE.AnimationHandler.update( stepSize );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册