File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1- <!DOCTYPE html>
1+ <!doctype html>
22< html lang ="en ">
33 < head >
44 < meta charset ="UTF-8 " />
@@ -382,7 +382,6 @@ <h2>More</h2>
382382 </ footer >
383383
384384 < script src ="/js/load-images.js?ver=2.0.0 "> </ script >
385- < script src ="/lib/enable3d/enable3d.framework.0.25.4.min.js "> </ script >
386- < script async src ="/welcome-game.js?ver=1.0.2 "> </ script >
385+ < script type ="module " src ="/welcome-game.js?ver=1.0.3 "> </ script >
387386 </ body >
388387</ html >
Original file line number Diff line number Diff line change 1- const {
1+ import {
22 Project ,
33 PhysicsLoader ,
44 Scene3D ,
88 ThirdPersonControls ,
99 PointerLock ,
1010 PointerDrag
11- } = ENABLE3D
11+ } from '/lib/enable3d/enable3d.framework.0.26.0_dev0.module.min.js'
1212
1313/**
1414 * Is touch device?
@@ -280,7 +280,7 @@ class MainScene extends Scene3D {
280280 this . man . body . setAngularVelocityY ( 0 )
281281
282282 const l = Math . abs ( theta - thetaMan )
283- let rotationSpeed = isTouchDevice ? 2 : 4
283+ let rotationSpeed = isTouchDevice ? 2 : 6
284284 let d = Math . PI / 24
285285
286286 if ( l > d ) {
You can’t perform that action at this time.
0 commit comments