cyjoelchen / php-sweph

PHP Extension for Swiss Ephemeris
Other
63 stars 29 forks source link

Two Constants for swe_rise_trans() usage are missing in sweph.c #19

Closed AstroSign-Dev closed 3 years ago

AstroSign-Dev commented 3 years ago

These two constants, which are used for jyotish calculations are still missing in sweph.c. It would be nice to have it in per default.

// ## Please Add these lines to the / for swe_rise_transit() / section into sweph.c REGISTER_LONG_CONSTANT("SE_BIT_GEOCTR_NO_ECL_LAT", SE_BIT_GEOCTR_NO_ECL_LAT , CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("SE_BIT_HINDU_RISING", SE_BIT_HINDU_RISING , CONST_CS | CONST_PERSISTENT);

aloistr commented 3 years ago

I have added them in my fork

AstroSign-Dev commented 3 years ago

Thank you, Alois