Explorar el Código

Use MeshBasicMaterial.

Brian Peiris hace 10 años
padre
commit
85f0f52b37
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/vr_cubes.html

+ 1 - 1
examples/vr_cubes.html

@@ -84,7 +84,7 @@
 
 				crosshair = new THREE.Mesh(
 					new THREE.RingGeometry( 0.5, 1, 32 ),
-					new THREE.LineBasicMaterial( {
+					new THREE.MeshBasicMaterial( {
 						color: 0x00bb00,
 						transparent: true,
 						opacity: 0.5