Skip to content

Commit

Permalink
Fixing mistake in dx/dy
Browse files Browse the repository at this point in the history
  • Loading branch information
slutske22 committed Aug 2, 2021
1 parent 02d23ea commit 86124d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/getTopography.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ async function getTopography(
eleW = await getElevation(projectedW);

const dx = E.distanceTo(W),
dy = E.distanceTo(S);
dy = N.distanceTo(S);

const dzdx = (eleE - eleW) / dx,
dzdy = (eleN - eleS) / dy;
Expand Down

0 comments on commit 86124d7

Please sign in to comment.