Class AbstractDistortedExtrusion
java.lang.Object
com.hypixel.hytale.server.worldgen.cave.shape.distorted.AbstractDistortedShape
com.hypixel.hytale.server.worldgen.cave.shape.distorted.AbstractDistortedExtrusion
- All Implemented Interfaces:
DistortedShape,IChunkBounds,IWorldBounds
- Direct Known Subclasses:
DistortedCylinderShape
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.hypixel.hytale.server.worldgen.cave.shape.distorted.DistortedShape
DistortedShape.Factory -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractDistortedExtrusion(Vector3d o, Vector3d v, double width, double height, GeneralNoise.InterpolationFunction interpolation) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract doublegetDistanceSq(double var1, double var3, double var5) doublegetHeightAtProjection(int seed, double x, double z, double t, double centerY, CaveType caveType, ShapeDistortion distortion) protected abstract doublegetHeightComponent(double var1, double var3, double var5) Methods inherited from class com.hypixel.hytale.server.worldgen.cave.shape.distorted.AbstractDistortedShape
clampPitch, getHighBoundX, getHighBoundY, getHighBoundZ, getLowBoundX, getLowBoundY, getLowBoundZMethods 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, 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
-
interpolation
-
-
Constructor Details
-
AbstractDistortedExtrusion
public AbstractDistortedExtrusion(@Nonnull Vector3d o, @Nonnull Vector3d v, double width, double height, GeneralNoise.InterpolationFunction interpolation)
-
-
Method Details
-
getDistanceSq
protected abstract double getDistanceSq(double var1, double var3, double var5) -
getHeightComponent
protected abstract double getHeightComponent(double var1, double var3, double var5) -
getHeightAtProjection
public double getHeightAtProjection(int seed, double x, double z, double t, double centerY, @Nonnull CaveType caveType, @Nonnull ShapeDistortion distortion)
-