提交 b5dcd1fb 编写于 作者: T Tristan VALCKE

Move missplaced variable declaration

上级 c4839ca2
......@@ -52,11 +52,10 @@ THREE.CameraNode.prototype.setScope = function( scope ) {
this.scope = scope;
switch ( scope ) {
var camera = this.camera
case THREE.CameraNode.DEPTH:
var camera = this.camera
this.near = new THREE.FloatNode( camera ? camera.near : 1 );
this.far = new THREE.FloatNode( camera ? camera.far : 1200 );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册