소스 검색

Merge branch 'master' into dev

Mr.doob 6 년 전
부모
커밋
8f6d196201
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      rollup.config.js
  2. 2 2
      src/geometries/PolyhedronGeometry.js

+ 1 - 1
rollup.config.js

@@ -207,7 +207,7 @@ export default {
 			indent: '\t'
 			indent: '\t'
 		},
 		},
 		{
 		{
-			format: 'es',
+			format: 'esm',
 			file: 'build/three.module.js',
 			file: 'build/three.module.js',
 			indent: '\t'
 			indent: '\t'
 		}
 		}

+ 2 - 2
src/geometries/PolyhedronGeometry.js

@@ -63,7 +63,7 @@ function PolyhedronBufferGeometry( vertices, indices, radius, detail ) {
 
 
 	// all vertices should lie on a conceptual sphere with a given radius
 	// all vertices should lie on a conceptual sphere with a given radius
 
 
-	appplyRadius( radius );
+	applyRadius( radius );
 
 
 	// finally, create the uv data
 	// finally, create the uv data
 
 
@@ -176,7 +176,7 @@ function PolyhedronBufferGeometry( vertices, indices, radius, detail ) {
 
 
 	}
 	}
 
 
-	function appplyRadius( radius ) {
+	function applyRadius( radius ) {
 
 
 		var vertex = new Vector3();
 		var vertex = new Vector3();