Skip to content

Commit

Permalink
parcsec->arcsec in Coor4D
Browse files Browse the repository at this point in the history
  • Loading branch information
busstoptaktik committed Apr 4, 2024
1 parent 7401ca7 commit 57485b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coordinate/coor4d.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ impl Coor4D {
/// A `Coor4D` from longitude/latitude/height/time, with the angular input in seconds
/// of arc. Mostly for handling grid shift elements.
#[must_use]
pub fn parcsec(longitude: f64, latitude: f64, height: f64, time: f64) -> Coor4D {
pub fn arcsec(longitude: f64, latitude: f64, height: f64, time: f64) -> Coor4D {
Coor4D([
longitude.to_radians() / 3600.,
latitude.to_radians() / 3600.,
Expand Down

0 comments on commit 57485b3

Please sign in to comment.