11.08.2016, 14:09
So i have an array that looks like this:
It is populated with point coordinates. The problem is that those points are pretty close together.
I'd like to "clean up" this array so only the points that are at least 15.0 units away from each other stay. And i would like to export those new "cleaned up" points to a new array.
Maybe this is an easy problem for some but ...
Thanks in advance.
Код:
new Float:SomeArray[100][3];
I'd like to "clean up" this array so only the points that are at least 15.0 units away from each other stay. And i would like to export those new "cleaned up" points to a new array.
Maybe this is an easy problem for some but ...
Thanks in advance.