Explorar o código

Use MeshBasicMaterial.

Brian Peiris %!s(int64=10) %!d(string=hai) anos
pai
achega
85f0f52b37
Modificáronse 1 ficheiros con 1 adicións e 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