28.12.2009, 18:31
Quote:
|
Originally Posted by °ғαιιοцт°
Quote:
I want it with looping just once it must be possible, looping 10 times is reading every coordinate 9 times too much |
Other option is to create an array with 10 slots, save 10 first distances to this array and then every time find the longest distance from that array and replace it with smaller. This way you will loop 10 items, but you have to do it on every object.

