浏览代码

Merge pull request #17111 from EliasHasle/patch-10

PolyhedronBufferGeometry: private function appplyRadius -> applyRadius
Mr.doob 6 年之前
父节点
当前提交
fa17680328
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/geometries/PolyhedronGeometry.js

+ 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
 
-	appplyRadius( radius );
+	applyRadius( radius );
 
 	// 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();