blob: 5085faf723e9faeeff9427809c59c70d91818b46 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<html>
<head>
<script
src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha256-3edrmyuQ0w65f8gfBsqowzjJe2iM6n0nKciPUp8y+7E="
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/90/three.min.js"></script>
<script src="./lib/OrbitControls.js"></script>
<script src="survive_viewer.js"></script>
</head>
<body>
<div id="ThreeJS" style="z-index: 1; position: absolute; left:0px; top:0px"></div>
<div id="cam-control" style="z-index: 2;border:1px solid white;position:absolute">
<button id="toggleBtn">
Toggle 2D View
</button>
<div id="cam" style="display:none">
<canvas width=800 height=800 id="camcanvas"></canvas>
</div>
</div>
</body>
</html>
|