mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-19 07:11:14 +00:00
RandomLocator binary column
This commit is contained in:
+2
-2
@@ -29,9 +29,9 @@ public class RandomLocator implements Locator {
|
|||||||
|
|
||||||
int size = points.get(r);
|
int size = points.get(r);
|
||||||
|
|
||||||
List<Integer> results = new ArrayList<>(size);
|
BinaryColumn results = new BinaryColumn(column.getMinY(), column.getMaxY());
|
||||||
for(int i = 0; i < size; i++) {
|
for(int i = 0; i < size; i++) {
|
||||||
results.set(i, height.get(r));
|
results.set(height.get(r));
|
||||||
}
|
}
|
||||||
|
|
||||||
return results;
|
return results;
|
||||||
|
|||||||
Reference in New Issue
Block a user