Browse Source

Update webgl_buffergeometry_glbufferattribute.html

Clean up
WestLangley 4 năm trước cách đây
mục cha
commit
89c8ee869f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      examples/webgl_buffergeometry_glbufferattribute.html

+ 1 - 1
examples/webgl_buffergeometry_glbufferattribute.html

@@ -115,7 +115,7 @@
 
 				//
 
-				const material = new THREE.PointsMaterial( { size: 15, vertexColors: THREE.VertexColors } );
+				const material = new THREE.PointsMaterial( { size: 15, vertexColors: true } );
 
 				points = new THREE.Points( geometry, material );