Skip to content

Commit 9e76536

Browse files
committed
Fix doc variable name.
1 parent 1892d9c commit 9e76536

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

alg/viewshed/util.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ int hIntersect(double angle, int nX, int nY, const Window &win)
103103
/// @param angle Angle in radians, standard arrangement.
104104
/// @param nX X coordinate of ray endpoint.
105105
/// @param nY Y coordinte of ray endpoint.
106-
/// @param y Vertical line where X = x.
106+
/// @param x Vertical line where X = x.
107107
/// @return Y intersect or NaN
108108
double verticalIntersect(double angle, int nX, int nY, int x)
109109
{
@@ -134,7 +134,7 @@ double verticalIntersect(double angle, int nX, int nY, int x)
134134
/// @param angle Angle in radians, standard arrangement.
135135
/// @param nX X coordinate of ray endpoint.
136136
/// @param nY Y coordinte of ray endpoint.
137-
/// @param y Horizontal line where X = x.
137+
/// @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)
140140
{

0 commit comments

Comments
 (0)