w
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yiqiu
2025-11-21 22:52:44 +08:00
parent 7fbc1eb033
commit 9b2cd0da18

View File

@@ -28,8 +28,8 @@
var scene = new THREE.Scene();
var camera = new THREE.PerspectiveCamera(40, width / height, 0.1, 1000);
// 稍微偏右俯视一点,拉远一点,同时后续通过缩放缩小球体本身
camera.position.set(0, 0.25, 5.5);
// 稍微偏右俯视一点,将相机拉得更远,让整个球体都落在视野内
camera.position.set(0, 0.15, 12.0);
camera.lookAt(0, 0, 0);
var renderer = new THREE.WebGLRenderer({ antialias: true, alpha: true });
@@ -103,7 +103,7 @@
scene.add(globe);
// 缩小整个地球及其节点/飞线,让球体在较大的展示区域中整体变小
globe.scale.set(0.6, 0.6, 0.6);
globe.scale.set(0.5, 0.5, 0.5);
// 按 hollow-globe 风格加载陆地多边形,绘制空心地球轮廓
(function loadLandPolygons() {