05-05-2020, 07:45 PM
Yes, but it works with one points (two coordinates) and you don't need to construct an explicit array.
I use StackOverflow daily (I'm even a solid contributor) and I recommend that you take what you see there with a grain of salt. There are solutions that work, and solutions that work for the right reasons. tThere are many answers that look like "that was a miracle for me, it could be a miracle for you".
You will start to learn only when you go beyond copy/paste and start tinkering.
I use StackOverflow daily (I'm even a solid contributor) and I recommend that you take what you see there with a grain of salt. There are solutions that work, and solutions that work for the right reasons. tThere are many answers that look like "that was a miracle for me, it could be a miracle for you".
You will start to learn only when you go beyond copy/paste and start tinkering.