瀏覽代碼

Update webgl_buffergeometry_glbufferattribute.html

Clean up
WestLangley 4 年之前
父節點
當前提交
89c8ee869f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 );