Skip to content

Commit

Permalink
docs: 🏷️ fix type label for RaeVec3
Browse files Browse the repository at this point in the history
  • Loading branch information
thkruz committed Aug 22, 2022
1 parent 1d463b9 commit df0d9dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/transforms/transforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ class Transforms {
* @param {Number} sez.s Positive horizontal vector S due south.
* @param {Number} sez.e Positive horizontal vector E due east.
* @param {Number} sez.z Vector Z normal to the surface of the earth (up).
* @returns {Object} Rng, Az, El array
* @returns {RaeVec3} Rng, Az, El array
*/
public static sez2rae(sez: SezVec3): RaeVec3 {
const rng = Math.sqrt(sez.s * sez.s + sez.e * sez.e + sez.z * sez.z);
Expand All @@ -242,8 +242,8 @@ class Transforms {

return <RaeVec3>{
rng: <Kilometer>rng,
az: <Degrees>Transforms.rad2deg(az),
el: <Degrees>Transforms.rad2deg(el),
az: <Radians>az,
el: <Radians>el,
};
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ export type LlaVec3 = {
};
export type RaeVec3 = {
rng: Kilometer;
az: Degrees;
el: Degrees;
az: Radians;
el: Radians;
};
export type SezVec3 = {
s: Kilometer;
Expand Down

0 comments on commit df0d9dd

Please sign in to comment.