Answers for "getting vector length with positions"

1

getting vector length with positions

For two points A and B with positions (x; y) :

vector length = sqrt(((yB - yA)^2) + (xB - xA)^2))
Posted by: Guest on November-15-2020

Browse Popular Code Answers by Language