Browse Source

Merge pull request #17111 from EliasHasle/patch-10

PolyhedronBufferGeometry: private function appplyRadius -> applyRadius
Mr.doob 6 years ago
parent
commit
fa17680328
1 changed files with 2 additions and 2 deletions
  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();