mirror of
https://github.com/jiawanlong/Cesium-Examples.git
synced 2025-07-04 15:17:36 +00:00
优化模型
This commit is contained in:
parent
8f85044245
commit
8f5400eda6
@ -25,7 +25,6 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
tileset.debugShowBoundingVolume = true; // 显示包围盒
|
tileset.debugShowBoundingVolume = true; // 显示包围盒
|
||||||
|
|
||||||
tileset.readyPromise
|
tileset.readyPromise
|
||||||
.then(function (tileset) {
|
.then(function (tileset) {
|
||||||
viewer.scene.primitives.add(tileset);
|
viewer.scene.primitives.add(tileset);
|
||||||
|
File diff suppressed because one or more lines are too long
27
index.html
27
index.html
@ -1,22 +1,25 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>3D_DEMOS-cesium-three-webgl</title>
|
<title>3D_DEMOS-cesium-three-webgl</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
</body>
|
</body>
|
||||||
<script>
|
<script>
|
||||||
window.location.href = window.location.href+"examples/cesiumEx/examples.html"
|
window.location.href = window.location.href + "examples/cesiumEx/examples.html"
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
var _hmt = _hmt || [];
|
var _hmt = _hmt || [];
|
||||||
(function() {
|
(function () {
|
||||||
var hm = document.createElement("script");
|
var hm = document.createElement("script");
|
||||||
hm.src = "https://hm.baidu.com/hm.js?e5ab8649289fd056f54428c62a8e0368";
|
hm.src = "https://hm.baidu.com/hm.js?e5ab8649289fd056f54428c62a8e0368";
|
||||||
var s = document.getElementsByTagName("script")[0];
|
var s = document.getElementsByTagName("script")[0];
|
||||||
s.parentNode.insertBefore(hm, s);
|
s.parentNode.insertBefore(hm, s);
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue
Block a user