public static void _(final Mapping m, final Floats source) { final Floats cols = source.copy(); int count = 0; //max is winner & winner gets all int[] maxPos; float max = 0; source.fill(0f); // maxPos = cols.max(); // final float half = cols.get(maxPos) / 5f; while (count <= 0) { maxPos = cols.max(); if (maxPos == null) { break; } max = cols.get(maxPos); // if (half >= max) // return; if (m.senapsesCode().get(maxPos[0],maxPos[1],maxPos[2]) < 0f) { source.set(max, maxPos); count++; // return; }// else { // cols.set(0f, maxPos); // } return; } }