the same goes for Vector2 ,, pass by const ref since it is input param
Why distance is not returned instead of passed by ref, it is a basic type and wont make diff in perf