Skip to content

Commit 3eab681

Browse files
committed
code comment typo fixes [ci skip]
1 parent 7d7c287 commit 3eab681

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

alg/viewshed/util.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ double normalizeAngle(double maskAngle)
3535
///
3636
/// @param angle Angle in radians, standard arrangement.
3737
/// @param nX X coordinate of ray endpoint.
38-
/// @param nY Y coordinte of ray endpoint.
38+
/// @param nY Y coordinate of ray endpoint.
3939
/// @param y Horizontal line where Y = y.
4040
/// @return X intersect or NaN
4141
double horizontalIntersect(double angle, int nX, int nY, int y)
@@ -66,7 +66,7 @@ double horizontalIntersect(double angle, int nX, int nY, int y)
6666
///
6767
/// @param angle Angle in radians, standard arrangement.
6868
/// @param nX X coordinate of ray endpoint.
69-
/// @param nY Y coordinte of ray endpoint.
69+
/// @param nY Y coordinate of ray endpoint.
7070
/// @param y Horizontal line where Y = y.
7171
/// @return Rounded X intersection of the sentinel INVALID_ISECT
7272
int hIntersect(double angle, int nX, int nY, int y)
@@ -82,7 +82,7 @@ int hIntersect(double angle, int nX, int nY, int y)
8282
///
8383
/// @param angle Angle in radians, standard arrangement.
8484
/// @param nX X coordinate of ray endpoint.
85-
/// @param nY Y coordinte of ray endpoint.
85+
/// @param nY Y coordinate of ray endpoint.
8686
/// @param win Window to intersect.
8787
/// @return X intersect, clamped to the window extent.
8888
int hIntersect(double angle, int nX, int nY, const Window &win)
@@ -102,7 +102,7 @@ int hIntersect(double angle, int nX, int nY, const Window &win)
102102
///
103103
/// @param angle Angle in radians, standard arrangement.
104104
/// @param nX X coordinate of ray endpoint.
105-
/// @param nY Y coordinte of ray endpoint.
105+
/// @param nY Y coordinate of ray endpoint.
106106
/// @param x Vertical line where X = x.
107107
/// @return Y intersect or NaN
108108
double verticalIntersect(double angle, int nX, int nY, int x)
@@ -133,7 +133,7 @@ double verticalIntersect(double angle, int nX, int nY, int x)
133133
///
134134
/// @param angle Angle in radians, standard arrangement.
135135
/// @param nX X coordinate of ray endpoint.
136-
/// @param nY Y coordinte of ray endpoint.
136+
/// @param nY Y coordinate of ray endpoint.
137137
/// @param x Horizontal line where X = x.
138138
/// @return Rounded Y intersection of the sentinel INVALID_ISECT
139139
int vIntersect(double angle, int nX, int nY, int x)
@@ -150,7 +150,7 @@ int vIntersect(double angle, int nX, int nY, int x)
150150
///
151151
/// @param angle Angle in radians, standard arrangement.
152152
/// @param nX X coordinate of ray endpoint.
153-
/// @param nY Y coordinte of ray endpoint.
153+
/// @param nY Y coordinate of ray endpoint.
154154
/// @param win Window to intersect.
155155
/// @return y intersect, clamped to the window extent.
156156
int vIntersect(double angle, int nX, int nY, const Window &win)

0 commit comments

Comments
 (0)