Class SphereInfo
java.lang.Object
team.lodestar.lodestone.modules.rendering.particle.runtime.profile.sphere.SphereInfo
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Easingprotected final double[]protected doubleprotected final double[]protected doubleprotected SphereInfo.PlacementModeprotected static final net.minecraft.util.RandomSource -
Constructor Summary
ConstructorsConstructorDescriptionSphereInfo(double xMin, double yMin, double zMin, double xMax, double yMax, double zMax) -
Method Summary
Modifier and TypeMethodDescriptionclampAngle(double minAngle, double maxAngle) mode(SphereInfo.PlacementMode mode) double[]double[]pickPosition(double angle, double pitch) withWeightedAngle(Easing angleWeighing)
-
Field Details
-
SPHERE_RANDOM
protected static final net.minecraft.util.RandomSource SPHERE_RANDOM -
min
protected final double[] min -
max
protected final double[] max -
mode
-
angleWeighing
-
minAngle
protected double minAngle -
maxAngle
protected double maxAngle
-
-
Constructor Details
-
SphereInfo
public SphereInfo(double xMin, double yMin, double zMin, double xMax, double yMax, double zMax)
-
-
Method Details
-
mode
-
withWeightedAngle
-
clampAngle
-
pickPosition
public double[] pickPosition() -
pickPosition
public double[] pickPosition(double angle, double pitch)
-