import { SatObject } from '@app/js/api/keepTrackTypes' ; import { ColorInformation , Pickable } from '../colorSchemeManager' ; export const apogeeRules = ( sat ) : ColorInformation => ( { color : [ 1.0 - Math . min ( sat . apogee / 45000 , 1.0 ) , Math . min ( sat . apogee / 45000 , 1.0 ) , 0.0 , 1.0 ] , pickable : Pickable . Yes , } ) ;