Math Addon: Difference between revisions

From SolarStrike wiki
Jump to navigationJump to search
m Protected "Math Addon" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
mNo edit summary
 
Line 1: Line 1:
See also: [[Vector3d_Class]] for vector math.
== distance ==
== distance ==
'''number math.distance(x1,y1, x2,y2)'''
'''number math.distance(x1,y1, x2,y2)'''


Pretty standard distance function. Returns the distance between two points. What else do you want?
Pretty standard distance function. Returns the distance between two points. What else do you want?

Latest revision as of 03:52, 18 February 2015

See also: Vector3d_Class for vector math.


distance

number math.distance(x1,y1, x2,y2)

Pretty standard distance function. Returns the distance between two points. What else do you want?