Class AbstractDistortedShape
java.lang.Object
com.hypixel.hytale.server.worldgen.cave.shape.distorted.AbstractDistortedShape
- All Implemented Interfaces:
DistortedShape,IChunkBounds,IWorldBounds
- Direct Known Subclasses:
AbstractDistortedBody,AbstractDistortedExtrusion
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.hypixel.hytale.server.worldgen.cave.shape.distorted.DistortedShape
DistortedShape.Factory -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final intprivate final intprivate final intprivate final intprivate final intprivate static final doubleprivate static final double -
Constructor Summary
ConstructorsConstructorDescriptionAbstractDistortedShape(Vector3d o, double radiusX, double radiusY, double radiusZ) AbstractDistortedShape(Vector3d o, Vector3d v, double width, double height) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.server.worldgen.cave.shape.distorted.DistortedShape
getAnchor, getCeiling, getEnd, getFloor, getHeightAt, getHeightAtProjection, getProjection, getStart, getWidthAt, getYAt, hasGeometry, isValidProjectionMethods inherited from interface com.hypixel.hytale.server.worldgen.util.bounds.IChunkBounds
fractionX, fractionZ, getHighBoundX, getHighBoundZ, getHighChunkX, getHighChunkZ, getLowBoundX, getLowBoundZ, getLowChunkX, getLowChunkZ, intersectsChunk, randomX, randomZMethods inherited from interface com.hypixel.hytale.server.worldgen.util.bounds.IWorldBounds
fractionY, intersectsChunk, randomY
-
Field Details
-
PITCH_MIN
private static final double PITCH_MIN -
PITCH_MAX
private static final double PITCH_MAX -
lowBoundX
private final int lowBoundX -
lowBoundY
private final int lowBoundY -
lowBoundZ
private final int lowBoundZ -
highBoundX
private final int highBoundX -
highBoundY
private final int highBoundY -
highBoundZ
private final int highBoundZ
-
-
Constructor Details
-
AbstractDistortedShape
-
AbstractDistortedShape
-
-
Method Details
-
getLowBoundX
public int getLowBoundX()- Specified by:
getLowBoundXin interfaceIChunkBounds
-
getLowBoundZ
public int getLowBoundZ()- Specified by:
getLowBoundZin interfaceIChunkBounds
-
getHighBoundX
public int getHighBoundX()- Specified by:
getHighBoundXin interfaceIChunkBounds
-
getHighBoundZ
public int getHighBoundZ()- Specified by:
getHighBoundZin interfaceIChunkBounds
-
getLowBoundY
public int getLowBoundY()- Specified by:
getLowBoundYin interfaceIWorldBounds
-
getHighBoundY
public int getHighBoundY()- Specified by:
getHighBoundYin interfaceIWorldBounds
-
clampPitch
public static double clampPitch(double pitch)
-