Class IndirectMerger
java.lang.Object
net.minecraft.world.phys.shapes.IndirectMerger
- All Implemented Interfaces:
IndexMerger
-
Nested Class Summary
Nested classes/interfaces inherited from interface IndexMerger
IndexMerger.IndexConsumer -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final it.unimi.dsi.fastutil.doubles.DoubleListprivate final int[]private final double[]private final intprivate final int[] -
Constructor Summary
ConstructorsConstructorDescriptionIndirectMerger(it.unimi.dsi.fastutil.doubles.DoubleList first, it.unimi.dsi.fastutil.doubles.DoubleList second, boolean firstOnlyMatters, boolean secondOnlyMatters) -
Method Summary
Modifier and TypeMethodDescriptionbooleanforMergedIndexes(IndexMerger.IndexConsumer consumer) it.unimi.dsi.fastutil.doubles.DoubleListgetList()intsize()
-
Field Details
-
EMPTY
private static final it.unimi.dsi.fastutil.doubles.DoubleList EMPTY -
result
private final double[] result -
firstIndices
private final int[] firstIndices -
secondIndices
private final int[] secondIndices -
resultLength
private final int resultLength
-
-
Constructor Details
-
IndirectMerger
public IndirectMerger(it.unimi.dsi.fastutil.doubles.DoubleList first, it.unimi.dsi.fastutil.doubles.DoubleList second, boolean firstOnlyMatters, boolean secondOnlyMatters)
-
-
Method Details
-
forMergedIndexes
- Specified by:
forMergedIndexesin interfaceIndexMerger
-
size
public int size()- Specified by:
sizein interfaceIndexMerger
-
getList
public it.unimi.dsi.fastutil.doubles.DoubleList getList()- Specified by:
getListin interfaceIndexMerger
-