⇐ Index
⇐ Math Utility
DistanceCell(<-x <-z <-tX <-tZ) ->dist
Returns the 2D distance between two given pairs of coordinates. (Or two sets of number pairs on the coordinate plane) Typically the passed in values are integers. However, this routine accepts floats and returns a float.
GetUnitCell(self) 0 0 DistanceCell ->dist #Find the distance between itself and 0,0 trace(<-dist)
⇐ Index