This repository was archived by the owner on Dec 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +26
-30
lines changed
Expand file tree Collapse file tree 2 files changed +26
-30
lines changed Original file line number Diff line number Diff line change 1111 < script type ="importmap ">
1212 {
1313 "imports" : {
14- "three" : "https://cdn.jsdelivr.net/npm/three@0.172 .0/build/three.module.min.js" ,
15- "three/addons/" : "https://cdn.jsdelivr.net/npm/three@0.172 .0/examples/jsm/"
14+ "three" : "https://cdn.jsdelivr.net/npm/three@0.174 .0/build/three.module.min.js" ,
15+ "three/addons/" : "https://cdn.jsdelivr.net/npm/three@0.174 .0/examples/jsm/"
1616 }
1717 }
1818 </ script >
140140 font-size : x-large;
141141 display : none;
142142 color : red;
143- width : 240px ;
144- height : 240px ;
145- top : 50% ;
146- left : 50% ;
147- margin-left : -127px ;
148- padding : 10px ;
143+ width : 50vw ;
144+ height : 50vh ;
145+ top : 50vh ;
146+ left : 25vw ;
147+ padding : 5px ;
149148 border : none;
150149 }
151150
154153 color : greenyellow;
155154 position : absolute;
156155 text-align : center;
157- font-size : large;
158- height : 240px ;
159- width : 240px ;
160- top : 50% ;
161- left : 50% ;
162- margin-left : -127px ;
163- padding : 10px ;
156+ font-size : x-large;
157+ width : 50vw ;
158+ height : 50vh ;
159+ top : 50vh ;
160+ left : 25vw ;
161+ padding : 5px ;
164162 border : none;
165163 }
166164
195193
196194 <!-- mouse_wheel variable is used throughout as a trigger for rendering -->
197195
198- < title > OBJ+MTL Viewer (r172 )</ title >
196+ < title > OBJ+MTL Viewer (r174 )</ title >
199197 </ head >
200198 < body onload ="reset_all(); document_ready(); disabled_changed(); " onresize ="resize(); ">
201199 < div id ="fixed_menu " class ="fixed-menu ">
564562 if ( ktx2_loader === undefined ) {
565563 const { KTX2Loader } = await import ( "three/addons/loaders/KTX2Loader.min.js" ) ;
566564 ktx2_loader = new KTX2Loader ( manager ) ;
567- ktx2_loader . setTranscoderPath ( "https://cdn.jsdelivr.net/npm/three@0.172 .0/examples/jsm/libs/basis/" ) ;
565+ ktx2_loader . setTranscoderPath ( "https://cdn.jsdelivr.net/npm/three@0.174 .0/examples/jsm/libs/basis/" ) ;
568566 manager . addHandler ( / \. k t x 2 $ / i, ktx2_loader ) ;
569567 }
570568
Original file line number Diff line number Diff line change 14771477 font-size : x-large;
14781478 display : none;
14791479 color : red;
1480- width : 240px ;
1481- height : 240px ;
1482- top : 50% ;
1483- left : 50% ;
1484- margin-left : -127px ;
1485- padding : 10px ;
1480+ width : 50vw ;
1481+ height : 50vh ;
1482+ top : 50vh ;
1483+ left : 25vw ;
1484+ padding : 5px ;
14861485 border : none;
14871486 }
14881487
14911490 color : greenyellow;
14921491 position : absolute;
14931492 text-align : center;
1494- font-size : large;
1495- height : 240px ;
1496- width : 240px ;
1497- top : 50% ;
1498- left : 50% ;
1499- margin-left : -127px ;
1500- padding : 10px ;
1493+ font-size : x-large;
1494+ width : 50vw ;
1495+ height : 50vh ;
1496+ top : 50vh ;
1497+ left : 25vw ;
1498+ padding : 5px ;
15011499 border : none;
15021500 }
15031501
You can’t perform that action at this time.
0 commit comments