Browse Source

Bit nicer formatting.

Brian Peiris 10 years ago
parent
commit
5b72603a3f
1 changed files with 3 additions and 0 deletions
  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 );
 
 			}