More spelling fixes

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

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))