-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathindex.html
29 lines (29 loc) · 825 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<html>
<head>
<meta charset="utf-8">
<title> Basic Feature of ThreeJS </title>
</head>
<body>
</body>
<!-- <script src="Three.js"></script> -->
<script src="three.min.js"></script>
<script src="bitview.js"></script>
<script src="shp.js"></script>
<script src="shp_three.js"></script>
<script src="TrackballControls.js"></script>
<script>
function save(buffer, name, mimetype) {
var bb = new WebKitBlobBuilder();
bb.append(buffer);
var b = bb.getBlob();
var url = webkitURL.createObjectURL(b);
var a = document.createElement('a');
a.download = name;
a.mimetype = mimetype;
a.href = url;
a.click();
webkitURL.revokeObjectURL(url);
}
</script>
<script src="index.js"></script>
</html>