File tree Expand file tree Collapse file tree
packages/markdown/assets/directive-openscad Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,9 +37,9 @@ hyperbook.openscad = (function () {
3737 const getThree = async ( ) => {
3838 if ( ! threePromise ) {
3939 threePromise = Promise . all ( [
40- import ( "https://cdn.jsdelivr.net/npm/three@0.170.0/build/three.module.js" ) ,
41- import ( "https://cdn.jsdelivr.net/npm/three@0.170.0/examples/jsm/loaders/STLLoader.js" ) ,
42- import ( "https://cdn.jsdelivr.net/npm/three@0.170.0/examples/jsm/controls/OrbitControls.js" ) ,
40+ import ( "https://cdn.jsdelivr.net/npm/three@0.170.0/build/three.module.js/+esm " ) ,
41+ import ( "https://cdn.jsdelivr.net/npm/three@0.170.0/examples/jsm/loaders/STLLoader.js/+esm " ) ,
42+ import ( "https://cdn.jsdelivr.net/npm/three@0.170.0/examples/jsm/controls/OrbitControls.js/+esm " ) ,
4343 ] ) . then ( ( [ THREE , STLLoaderModule , OrbitControlsModule ] ) => ( {
4444 THREE ,
4545 STLLoader : STLLoaderModule . STLLoader ,
You can’t perform that action at this time.
0 commit comments