(file)
| 468 | const geometry = new THREE.BufferGeometry(); |
| 469 | geometry.setAttribute('position', new THREE.BufferAttribute(positions, 3)); |
| 470 | return geometry; |
| 471 | } |
| 472 | |
| 473 | /** |
| 474 | * Unified loader: dispatches to the right parser based on file extension. |
| 475 | * `opts` is only meaningful for STEP files ({ quality, onProgress }); the |
| 476 | * STEP loader is imported lazily so its worker code stays off the critical |
| 477 | * path for the common STL case. |
| 478 | */ |
no test coverage detected