Commit bfb249be63b95c21347bbc14a5296005dee642db

Authored by tfmoraes
1 parent d0db0dca

STYLE: only a comentary in the function that calcule the distance from a point to line

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/gui/widgets/clut_raycasting.py
... ... @@ -308,7 +308,7 @@ class CLUTRaycastingWidget(wx.Panel):
308 308 # Calculate the size from those vectors
309 309 len_A = numpy.linalg.norm(A)
310 310 len_B = numpy.linalg.norm(B)
311   - # calculate the angle (in radians) between those vector
  311 + # calculate the angle theta (in radians) between those vector
312 312 theta = math.acos(numpy.dot(A, B) / (len_A * len_B))
313 313 # Using the sin from theta, calculate the adjacent leg, which is the
314 314 # distance from the point to the line
... ...