public void UpdatePlanetLocation(double jNow) { camParams.ViewTarget = Planets.GetPlanet3dLocationJD(Target, jNow); if (Target != SolarSystemObjects.Undefined && Target != SolarSystemObjects.Custom) { //todo add back when planets are added camParams.ViewTarget = Planets.GetPlanetTargetPoint(Target, Lat, Lng, jNow); } }