Create a new vector by applying a function to each element of the current vector.
result = Vector3:apply(f)
- The function to apply to each element. It can take up to 2 arguments, with the first being the element value and the second being the element index.
- The result of applying the function
fto each element of the vector.