zy-acs-flow/src/map/player.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
zy-acs-flow/src/map/tool.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
zy-acs-flow/src/map/player.js
@@ -376,9 +376,10 @@ } startupTicker = () => { this.app.ticker.add((delta) => { this.tweedle = (delta) => { TWEEDLE.Group.shared.update(); }); } this.app.ticker.add(this.tweedle); } resize = (width, height) => { @@ -386,6 +387,8 @@ } destroy = () => { TWEEDLE.Group.shared.removeAll(); this.app.ticker.remove(this.tweedle); this.app.destroy(true, { children: true }); } zy-acs-flow/src/map/tool.js
@@ -555,6 +555,9 @@ // diff let rotationDifference = targetRotation - currentRotation; if (rotationDifference === 0) { return; } rotationDifference = ((rotationDifference + Math.PI) % (2 * Math.PI)) - Math.PI; // destination