Skip to content

Commit

Permalink
fix: ✏️ fix typo in sez2rae
Browse files Browse the repository at this point in the history
  • Loading branch information
thkruz committed Aug 22, 2022
1 parent c039022 commit 509bf07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/transforms/transforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,10 @@ class Transforms {
const el = Math.asin(sez.z / rng);
const az = Math.atan2(-sez.e, sez.s) + PI;

return {
return <RaeVec3>{
rng: <Kilometer>rng,
az: <Degrees>rad2deg(az),
el: <Degrees>rad2deg(el),
az: <Degrees>Transforms.rad2deg(az),
el: <Degrees>Transforms.rad2deg(el),
};
}
}
Expand Down

0 comments on commit 509bf07

Please sign in to comment.