You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Very useful library, thanks for the port.
If there is a chance, I would appreciate more of the calculation functions to become public.
E.g. in my use case, sun position calculation is part of more angles math tasks.
Right now I have to duplicate code for some of the calculations, because
access to suncalc is high level only (e.g. GetPosition) and not on finer level to allow for use of pre-calculated values (azimuth(), altitude())
access to generic helper functions is private (e.g. calc of lw, phi, function toDays() etc)
The text was updated successfully, but these errors were encountered:
Hi @EverydayRoadster
The easy way would be Upper case all first letter method names, but not sure that would be clean.
Which functions would you like to be able to reach?
Could these methods be part of another Struct called from suncalc and your code? Would it make sens? Would it be clean?
Very useful library, thanks for the port.
If there is a chance, I would appreciate more of the calculation functions to become public.
E.g. in my use case, sun position calculation is part of more angles math tasks.
Right now I have to duplicate code for some of the calculations, because
The text was updated successfully, but these errors were encountered: