mirror of
https://github.com/GTNewHorizons/ForgeMultipart.git
synced 2026-11-14 01:14:19 +00:00
refactor: port partial occlusion to Java
Keep the Scala trait helper so reference-compiled implementations remain linkable.
This commit is contained in:
1 parent
60818853e3
commit
a0428b9994
7 files changed
+142
-73
No files matched your search
@@ -64,6 +64,13 @@ class PartialOcclusionCharacterizationTest {
|
||||
assertTrue(test.apply());
|
||||
}
|
||||
|
||||
@Test
|
||||
void javaInterfaceDefaultsToRequiredVisibility() {
|
||||
JPartialOcclusion part = Collections::emptyList;
|
||||
|
||||
assertFalse(part.allowCompleteOcclusion());
|
||||
}
|
||||
|
||||
@Test
|
||||
void fullyOverlappingPartsLoseTheirVisibleVoxel() {
|
||||
PartialOcclusionTest test = new PartialOcclusionTest(2);
|
||||
|
||||
Reference in new issue
Block a user