mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-27 14:30:23 +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) {
|
while(true) {
|
||||||
y += resolution;
|
y += resolution;
|
||||||
if(y >= max) {
|
if(y > max) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
T current = get(y);
|
T current = get(y);
|
||||||
@@ -55,7 +55,7 @@ public interface Column<T> {
|
|||||||
runningObj = current;
|
runningObj = current;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
consumer.accept(runningMin, ++y, runningObj);
|
consumer.accept(runningMin, getMaxY(), runningObj);
|
||||||
}
|
}
|
||||||
|
|
||||||
default List<? extends T> asList() {
|
default List<? extends T> asList() {
|
||||||
|
|||||||
Reference in new issue
Block a user