瀏覽代碼

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

Ayush123-e 1 月之前
父節點
當前提交
fcdaf6c0a1
共有 1 個文件被更改,包括 1 次插入1 次删除
  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号