Gregg Tavares %!s(int64=6) %!d(string=hai) anos
pai
achega
9fa5adc537
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      threejs/lessons/threejs-custom-geometry.md

+ 2 - 2
threejs/lessons/threejs-custom-geometry.md

@@ -242,8 +242,8 @@ geometry.computeFaceNormals();
 Removing the vertex color stuff and changing the material back to `MeshPhongMaterial`
 
 ```js
-+const material = new THREE.MeshBasicMaterial({vertexColors: THREE.VertexColors});
--const material = new THREE.MeshPhongMaterial({color});
+-const material = new THREE.MeshBasicMaterial({vertexColors: THREE.VertexColors});
++const material = new THREE.MeshPhongMaterial({color});
 ```
 
 and now our cubes can be lit.