Contents
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 DistortedShape
DistortedShape.Factory -
Constructor Summary
ConstructorsConstructorDescriptionAbstractDistortedShape(org.joml.Vector3d o, double radiusX, double radiusY, double radiusZ) AbstractDistortedShape(org.joml.Vector3d o, org.joml.Vector3d v, double width, double height) -
Method Summary
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface DistortedShape
getAnchor, getCeiling, getEnd, getFloor, getHeightAt, getHeightAtProjection, getProjection, getStart, getWidthAt, getYAt, isValidProjectionMethods inherited from interface IChunkBounds
fractionX, fractionZ, getHighBoundX, getHighBoundZ, getHighChunkX, getHighChunkZ, getLowBoundX, getLowBoundZ, getLowChunkX, getLowChunkZ, intersectsChunk, randomX, randomZMethods inherited from interface IWorldBounds
fractionY, intersectsChunk, isValid, randomY
-
Constructor Details
-
AbstractDistortedShape
public AbstractDistortedShape(@Nonnull org.joml.Vector3d o, double radiusX, double radiusY, double radiusZ) -
AbstractDistortedShape
public AbstractDistortedShape(@Nonnull org.joml.Vector3d o, @Nonnull org.joml.Vector3d v, double width, double height)
-
-
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)
-