Browse Source

Use MeshBasicMaterial.

Brian Peiris 10 năm trước cách đây
mục cha
commit
85f0f52b37
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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