Parcourir la source

Update webgl_buffergeometry_glbufferattribute.html

Clean up
WestLangley il y a 4 ans
Parent
commit
89c8ee869f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 );