2
0
Brian Peiris 10 жил өмнө
parent
commit
5b72603a3f

+ 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 );
 
 			}