add deltaT func to astro.go
This commit is contained in:
parent
27b7e4ab77
commit
add07bbd85
14
astro.go
14
astro.go
@ -1,2 +1,16 @@
|
|||||||
// Package astro
|
// Package astro
|
||||||
package astro
|
package astro
|
||||||
|
|
||||||
|
import "b612.me/astro/basic"
|
||||||
|
|
||||||
|
func DeltaT() func(float64, bool) float64 {
|
||||||
|
return basic.GetDeltaTFn()
|
||||||
|
}
|
||||||
|
|
||||||
|
func SetDeltaT(deltaT func(float64, bool) float64) {
|
||||||
|
basic.SetDeltaTFn(deltaT)
|
||||||
|
}
|
||||||
|
|
||||||
|
func DefaultDeltaT() func(float64, bool) float64 {
|
||||||
|
return basic.DefaultDeltaTv2
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user