Closed pixelzoom closed 11 years ago
Add convenience method for determining the distance between the tips of 2 vectors. Important because PhET uses vectors for points. Essentially abs(vector1-vector2).
Added distance and distanceSquared. See https://github.com/phetsims/dot/commit/a4d399b639faab004c10053ea7417a81326ecf11
Add convenience method for determining the distance between the tips of 2 vectors. Important because PhET uses vectors for points. Essentially abs(vector1-vector2).