mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-13 16:14:52 +09:00
More spelling fixes
This commit is contained in:
1 parent
786525f58f
commit
36aae4fd12
42 files changed
+312
-312
No files matched your search
+2
-2
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user