Explorar el Código

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

Ayush123-e hace 5 meses
padre
commit
fcdaf6c0a1
Se han modificado 1 ficheros con 1 adiciones y 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 ) {
 	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号