timotejroiko / sweph

The definitive Swiss Ephemeris bindings for Node.js
Other
93 stars 15 forks source link

new feature #14

Closed tutucea closed 8 months ago

tutucea commented 8 months ago

please feel free to delete since its not an actual issue but do you think you can add solcross and mooncross to your code <3

double swe_solcross_ut(

     double x2cross,

double tjd_ut,

int32 iflag,

char *serr);
timotejroiko commented 8 months ago

these functions are already added, but they are not available in the GPL version since they were implemented by Swiss Ephemeris after the licensing changes, so you have to use the latest AGPL version:

https://github.com/timotejroiko/sweph/blob/main/src/functions/solcross.cpp
https://github.com/timotejroiko/sweph/blob/main/src/functions/solcross_ut.cpp