static/js/app.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
views/index.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
static/js/app.js
@@ -432,6 +432,9 @@ this.camera.position.set( 1400, 6000, -1800 ); this.camera.lookAt( 1400, 0, -1800 ); } this.backlView = function () { this.initCamera(); } }, }; views/index.html
@@ -80,6 +80,9 @@ <li id="menu-t"> <div><div>俯</div></div> </li> <li id="menu-b"> <div><div>返</div></div> </li> </ul> @@ -113,6 +116,10 @@ document.getElementById("menu-t").addEventListener('click', function () { player.verticalView(); }, false); document.getElementById("menu-b").addEventListener('click', function () { player.backlView(); }, false); </script> <script> var percent = 0;