From d432010a8d85511198b5c8b26313ac5486bb22f1 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期四, 23 十二月 2021 13:51:52 +0800
Subject: [PATCH] #

---
 static/js/app.js |    3 +++
 views/index.html |    7 +++++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/static/js/app.js b/static/js/app.js
index 3e5aa65..8eed770 100644
--- a/static/js/app.js
+++ b/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();
+		}
 	},
 
 };
diff --git a/views/index.html b/views/index.html
index 8f9c569..afad293 100644
--- a/views/index.html
+++ b/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;

--
Gitblit v1.9.1