dist() takes in 2 x,y positions and finds the distance between them
dist() takes 4 paraeters, (x , y , x , y)
log dist(-10,0,10,0) // 20 log dist(-10,-10,10,10) // 28.284271247461902
Last updated 1 year ago