Explorar o código

PolyhedronGeometry: Fix typo in fromJSON() (#32475)

Ayush123-e hai 1 mes
pai
achega
fcdaf6c0a1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/geometries/PolyhedronGeometry.js

+ 1 - 1
src/geometries/PolyhedronGeometry.js

@@ -339,7 +339,7 @@ class PolyhedronGeometry extends BufferGeometry {
 	 */
 	static fromJSON( data ) {
 
-		return new PolyhedronGeometry( data.vertices, data.indices, data.radius, data.details );
+		return new PolyhedronGeometry( data.vertices, data.indices, data.radius, data.detail );
 
 	}
 

粤ICP备19079148号