mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-21 15:57:19 +00:00
fix low res column
This commit is contained in:
1 parent
11cf4c3a95
commit
589e46477e
1 file changed
+2
-2
@@ -44,7 +44,7 @@ public interface Column<T> {
|
||||
|
||||
while(true) {
|
||||
y += resolution;
|
||||
if(y >= max) {
|
||||
if(y > max) {
|
||||
break;
|
||||
}
|
||||
T current = get(y);
|
||||
@@ -55,7 +55,7 @@ public interface Column<T> {
|
||||
runningObj = current;
|
||||
}
|
||||
}
|
||||
consumer.accept(runningMin, ++y, runningObj);
|
||||
consumer.accept(runningMin, getMaxY(), runningObj);
|
||||
}
|
||||
|
||||
default List<? extends T> asList() {
|
||||
|
||||
Reference in new issue
Block a user