feat(earth): cable state management, hover/lock visual separation, fix isSameCable undefined bug

This commit is contained in:
rayd1o
2026-03-19 16:46:40 +08:00
parent 869d661a94
commit 0ecc1bc537
3 changed files with 113 additions and 77 deletions

View File

@@ -47,6 +47,12 @@ export const CABLE_CONFIG = {
pulseCoefficient: 0.4
};
export const CABLE_STATE = {
NORMAL: 'normal',
HOVERED: 'hovered',
LOCKED: 'locked'
};
export const GRID_CONFIG = {
latitudeStep: 10,
longitudeStep: 30,