mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-25 13:30:08 +00:00
River transect probe
- riverTransectProbe renders each surface course as a plan and five cross-sections - Summary gates ocean writes and spilling channel cells - Grading columns now report the bank biome
This commit is contained in:
1 parent
676372efab
commit
2585b2105a
4 files changed
+585
-3
No files matched your search
@@ -266,7 +266,7 @@ public class HydrologyModelTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void outerGradingUsesTheExactParentBiome() {
|
||||
public void outerGradingUsesTheBankBiome() {
|
||||
HydrologyFeatureRef feature = feature(HydrologyFeatureType.SURFACE_POOL, 3L, 70);
|
||||
HydrologyColumnLayer grading = layer(feature, 72, 72, 72, false, false, false);
|
||||
grading = new HydrologyColumnLayer(
|
||||
@@ -292,7 +292,7 @@ public class HydrologyModelTest {
|
||||
);
|
||||
HydrologyColumnSample sample = new HydrologyColumnSample(0, 0, 74, 63, false, "exact_parent", List.of(grading));
|
||||
|
||||
assertTrue(grading.biomeKey() == null);
|
||||
assertEquals("dry", grading.biomeKey());
|
||||
assertEquals("exact_parent", sample.parentBiomeKey());
|
||||
assertFalse(sample.hasConnectedFluid());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user