Posted By

tuffstudio on 12/30/10


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

liakwee


Distance Between Two Points


 / Published in: ActionScript
 

  1. dx = x2 – x1;
  2. dy = y2 – y1;
  3. dist = Math.sqrt(dx*dx + dy*dy);

Report this snippet  

You need to login to post a comment.