More spelling fixes

This commit is contained in:
bbassie committed 2019-07-03 16:16:39 +02:00
1 parent 786525f58f
commit 36aae4fd12
42 files changed
+312 -312

No files matched your search

+2 -2
View File
@@ -31,8 +31,8 @@ math.clamp = function(num, min, max)
end
--- Takes two points and calculates the slope of a line
-- @param x1, y1 numbers - cordinates of a point on a line
-- @param x2, y2 numbers - cordinates of a point on a line
-- @param x1, y1 numbers - coordinates of a point on a line
-- @param x2, y2 numbers - coordinates of a point on a line
-- @return number - the slope of the line
math.calculate_slope = function(x1, y1, x2, y2)
return math.abs((y2 - y1) / (x2 - x1))