Skip to content

Commit

Permalink
feat: add type EclipticCoordinate struct to common module in @observe…
Browse files Browse the repository at this point in the history
…rly/sidera.

feat: add type EclipticCoordinate struct to common module in @observerly/sidera.
  • Loading branch information
michealroberts committed May 2, 2024
1 parent 991152c commit 2f86bbe
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@ var DEGREES_TO_RADIANS = math.Pi / 180

/*****************************************************************************************************************/

type EclipticCoordinate struct {
Longitude float64
Latitude float64
}

/*****************************************************************************************************************/

type EquatorialCoordinate struct {
RightAscension float64
Declination float64
Expand Down

0 comments on commit 2f86bbe

Please sign in to comment.