useful function

Pythagorean Distance Between Two Points

by Michael James Williams on May 8, 2009 · 26 comments

in Maths

Learn about Pythagorean distance for working out how far apart two objects are in AS3 and Flash games, in 2D, 3D and 4D. Also explains Pythagoras’ theorem and introduces Euclidean space.