Class IsoDepthHelper
java.lang.Object
zombie.iso.IsoDepthHelper
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatstatic final intstatic final floatstatic final float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic floatcalculateDepth(float x, float y, float z) static IsoDepthHelper.ResultsgetChunkDepthData(int centreWX, int centreWY, int wx, int wy, int level) static IsoDepthHelper.Resultsstatic IsoDepthHelper.ResultsgetSquareDepthData(int centreX, int centreY, float x, float y, float z)
-
Field Details
-
CHUNK_DEPTH
public static final float CHUNK_DEPTH- See Also:
-
SQUARE_DEPTH
public static final float SQUARE_DEPTH- See Also:
-
LEVEL_DEPTH
public static final float LEVEL_DEPTH- See Also:
-
CHUNK_WIDTH_OF_DEPTH_BUFFER
public static final int CHUNK_WIDTH_OF_DEPTH_BUFFER- See Also:
-
-
Constructor Details
-
IsoDepthHelper
public IsoDepthHelper()
-
-
Method Details
-
getChunkDepthData
public static IsoDepthHelper.Results getChunkDepthData(int centreWX, int centreWY, int wx, int wy, int level) -
getDepthSize
-
calculateDepth
public static float calculateDepth(float x, float y, float z) -
getSquareDepthData
public static IsoDepthHelper.Results getSquareDepthData(int centreX, int centreY, float x, float y, float z)
-