mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 10:43:14 +00:00
Fixes lombok
This commit is contained in:
parent
cd7f192fba
commit
91c24d5501
@ -51,11 +51,23 @@ public class IrisInterpolator {
|
|||||||
@Desc("The range checked horizontally. Smaller ranges yeild more detail but are not as smooth.")
|
@Desc("The range checked horizontally. Smaller ranges yeild more detail but are not as smooth.")
|
||||||
private double horizontalScale = 7;
|
private double horizontalScale = 7;
|
||||||
|
|
||||||
|
@Override
|
||||||
public int hashCode()
|
public int hashCode()
|
||||||
{
|
{
|
||||||
return Objects.hash(horizontalScale, function);
|
return Objects.hash(horizontalScale, function);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean equals(Object o)
|
||||||
|
{
|
||||||
|
if(o instanceof IrisInterpolator i)
|
||||||
|
{
|
||||||
|
return i.getFunction().equals(function) && i.getHorizontalScale() == horizontalScale;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
public double interpolate(double x, double z, NoiseProvider provider) {
|
public double interpolate(double x, double z, NoiseProvider provider) {
|
||||||
return interpolate((int) Math.round(x), (int) Math.round(z), provider);
|
return interpolate((int) Math.round(x), (int) Math.round(z), provider);
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,6 @@ package com.volmit.iris.engine.object;
|
|||||||
|
|
||||||
import com.volmit.iris.engine.object.annotations.Desc;
|
import com.volmit.iris.engine.object.annotations.Desc;
|
||||||
import com.volmit.iris.engine.object.annotations.Snippet;
|
import com.volmit.iris.engine.object.annotations.Snippet;
|
||||||
import lombok.AllArgsConstructor;
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.EqualsAndHashCode;
|
import lombok.EqualsAndHashCode;
|
||||||
import lombok.NoArgsConstructor;
|
import lombok.NoArgsConstructor;
|
||||||
@ -30,7 +29,6 @@ import lombok.experimental.Accessors;
|
|||||||
@EqualsAndHashCode()
|
@EqualsAndHashCode()
|
||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@AllArgsConstructor
|
|
||||||
@Desc("Represents an iris object placer. It places objects.")
|
@Desc("Represents an iris object placer. It places objects.")
|
||||||
@Data
|
@Data
|
||||||
public class IrisMatterPlacement {
|
public class IrisMatterPlacement {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user