Open evilwombat opened 8 months ago
Seemingly getting more reasonable values if I explicitly convert the input location to double-precision:
function calculate(moment, pos, what) {
var lat = pos[0].toDouble();
var lng = pos[1].toDouble();
Either way, THANK YOU for the library!
Consider the following code:
The output I see is as follows:
Am I being completely stupid, or are the various sunset types really returning the same moment, despite such seemingly large differences in sun angle?