mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-02-16 10:30:42 +00:00
fix low res column
This commit is contained in:
@@ -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