From Garry's Mod
Revision as of 22:37, 17 March 2014 by SubVerse
X position of first point
Y position of first point
X position of second point
Y position of second point
Distance between the two points.
Demonstrates the use of this function.
print( math.Distance( 1, 2, 5, 6 ) ) -- distance bet