Now adding all known planets to the GsweMoment in astrognome.c

This commit is contained in:
Gergely Polonkai 2013-09-02 23:04:05 +02:00
parent ea28bef085
commit ac343217b2

View File

@ -413,6 +413,7 @@ main(int argc, char *argv[])
timestamp = gswe_timestamp_new_from_gregorian_full(year, month, day, hour, min, sec, 0, 1.0); timestamp = gswe_timestamp_new_from_gregorian_full(year, month, day, hour, min, sec, 0, 1.0);
moment = gswe_moment_new_full(timestamp, lon, lat, alt, GSWE_HOUSE_SYSTEM_PLACIDUS); moment = gswe_moment_new_full(timestamp, lon, lat, alt, GSWE_HOUSE_SYSTEM_PLACIDUS);
gswe_moment_add_all_planets(moment);
if (set_location_and_time(lon, lat, alt, year, month, day, hour, min, sec, timezone, &te) == 0) { if (set_location_and_time(lon, lat, alt, year, month, day, hour, min, sec, timezone, &te) == 0) {
return 1; return 1;