浏览代码

Bit nicer formatting.

Brian Peiris 10 年之前
父节点
当前提交
5b72603a3f
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      examples/vr_cubes.html

+ 3 - 0
examples/vr_cubes.html

@@ -211,8 +211,10 @@
 				}
 
 				vrControls.update();
+
 				crosshair.quaternion.copy( camera.quaternion );
 				crosshair.position.set( 0, 0, 0 );
+
 				if ( INTERSECTED ) {
 
 					crosshair.translateZ(
@@ -226,6 +228,7 @@
 					crosshair.translateZ(-40);
 
 				}
+
 				vrEffect.render( scene, camera );
 
 			}