Difference between revisions of "Math Addon"
From SolarStrike wiki
(Created page with "== distance == '''number math.distance(x1,y1, x2,y2)''' Pretty standard distance function. Returns the distance between two points. What else do you want?") |
m |
||
(One intermediate revision by the same user not shown) | |||
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?