[Main page] [Overview]     /sefun /distance

SYNOPSIS
float distance( int x1, int y1, int x2, int y2)
float distance( object|struct Location l1, object|struct Location l2)

FILE
/kernel/simul_efun/math.h

DESCRIPTION
Calculates the distance between two points. You can freely
compare Location/Coord structs and objects.