Browse Source

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

zz85 13 years ago
parent
commit
901bbf3d21
1 changed files with 1 additions and 1 deletions
  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);
 
         }
     }