refactor(earth): abstract cable highlight logic with applyCableVisualState()
This commit is contained in:
@@ -38,7 +38,15 @@ export const CABLE_COLORS = {
|
||||
'default': 0xffff44
|
||||
};
|
||||
|
||||
// Grid configuration
|
||||
export const CABLE_CONFIG = {
|
||||
lockedOpacityMin: 0.6,
|
||||
lockedOpacityMax: 1.0,
|
||||
otherOpacity: 0.5,
|
||||
otherBrightness: 0.6,
|
||||
pulseSpeed: 0.003,
|
||||
pulseCoefficient: 0.4
|
||||
};
|
||||
|
||||
export const GRID_CONFIG = {
|
||||
latitudeStep: 10,
|
||||
longitudeStep: 30,
|
||||
|
||||
Reference in New Issue
Block a user