Skip to content

Commit

Permalink
Merge pull request #26 from observerly/feature/common/Degrees
Browse files Browse the repository at this point in the history
feat: add Degrees common utility to @observerly/sidera.
  • Loading branch information
michealroberts authored May 2, 2024
2 parents b3efd80 + e49e0d7 commit f865a2c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,9 @@ func Radians(degrees float64) float64 {
}

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

func Degrees(radians float64) float64 {
return radians / DEGREES_TO_RADIANS
}

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

0 comments on commit f865a2c

Please sign in to comment.