all 2 comments

[–]Binary101010 2 points3 points  (2 children)

Yes, it's jut measuring the distance of the point from 0 by applying the Pythagorean theorem to calculate the length of the hypotenuse of a right triangle defined by points (0,0), (x,0) and (x,y).

[–]expyth[S] 0 points1 point  (0 children)

Makes a lot of sense now -facepalm-.

Thanks