Преглед на файлове

refactor ParametricGeometry for new API. discarding other changes to rebase on mrdoob new refactoring

zz85 преди 14 години
родител
ревизия
901bbf3d21
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/extras/geometries/ParametricGeometry.js

+ 1 - 1
src/extras/geometries/ParametricGeometry.js

@@ -21,7 +21,7 @@ THREE.ParametricGeometry = function(slices, stacks, func) {
             phi = j / stacks;
 
             p = func(theta, phi);
-            verts.push(new THREE.Vertex(p));
+            verts.push(p);
 
         }
     }

粤ICP备19079148号