mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-26 14:00:26 +00:00
Trimmed bake accessors
- Removed facade and plane accessors nothing reads
This commit is contained in:
1 parent
ab69be59c7
commit
2bfa9c4528
3 files changed
-21
No files matched your search
@@ -32,11 +32,6 @@ public final class ChunkPlanes {
|
||||
return planes.getAcquire(kind.ordinal());
|
||||
}
|
||||
|
||||
public Object published(BakePlane kind) {
|
||||
Plane plane = planes.getAcquire(kind.ordinal());
|
||||
return plane != null && plane.complete ? plane.values : null;
|
||||
}
|
||||
|
||||
public Plane plane(BakePlane kind) {
|
||||
int slot = kind.ordinal();
|
||||
Plane plane = planes.getAcquire(slot);
|
||||
|
||||
@@ -20,14 +20,6 @@ public final class BakedDoubleStream extends BasicStream<Double> implements Chun
|
||||
this.scalar = Objects.requireNonNull(scalar, "Scalar source");
|
||||
}
|
||||
|
||||
public BakePlane plane() {
|
||||
return plane;
|
||||
}
|
||||
|
||||
public ProceduralStream<Double> scalar() {
|
||||
return scalar;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Double get(double x, double z) {
|
||||
return getDouble(x, z);
|
||||
|
||||
@@ -20,14 +20,6 @@ public final class BakedStream<T> extends BasicStream<T> implements ChunkFillabl
|
||||
this.scalar = Objects.requireNonNull(scalar, "Scalar source");
|
||||
}
|
||||
|
||||
public BakePlane plane() {
|
||||
return plane;
|
||||
}
|
||||
|
||||
public ProceduralStream<T> scalar() {
|
||||
return scalar;
|
||||
}
|
||||
|
||||
@Override
|
||||
@SuppressWarnings("unchecked")
|
||||
public T get(double x, double z) {
|
||||
|
||||
Reference in new issue
Block a user