Files
tianxuan/.omo/patches/globe-v6.md
T

1.0 KiB

Globe v6 修复补丁

P1. 背面剔除修复

文件: templates/tianxuan/globe.html — function updatePulses

修改: 用 localToWorld 替代 applyQuaternion(arcQuat)

// 当前(有bug):
var arcQuat = arcGroup.quaternion;
...
midPt.applyQuaternion(arcQuat);

// 改为:
arcGroup.updateMatrixWorld(true);
...
arcGroup.localToWorld(midPt);

P2. 国境线恢复

文件: static/tianxuan/world_borders.js — 重新生成,使用更准确的坐标

要求:

  • 包含中国法定边境(含台湾、南海九段线示意)
  • 至少覆盖:中国、美国、俄罗斯、加拿大、巴西、澳大利亚、印度、英国、法国、德国、日本
  • 每国 20-40 个坐标点

文件: templates/tianxuan/globe.html — 恢复 borderGroup

  • 恢复 script 加载 world_borders.js
  • 恢复 borderGroup 创建和 renderBorders 函数
  • 恢复复选框 国境线 toggle

P3. 聚类空列回退 (已修复)

tool_registry.py _cluster_sync: 已添加回退逻辑