소스 검색

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

zz85 13 년 전
부모
커밋
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);
 
         }
     }