mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 02:36:59 +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.")
|
||||
private double horizontalScale = 7;
|
||||
|
||||
@Override
|
||||
public int hashCode()
|
||||
{
|
||||
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) {
|
||||
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.Snippet;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import lombok.NoArgsConstructor;
|
||||
@ -30,7 +29,6 @@ import lombok.experimental.Accessors;
|
||||
@EqualsAndHashCode()
|
||||
@Accessors(chain = true)
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Desc("Represents an iris object placer. It places objects.")
|
||||
@Data
|
||||
public class IrisMatterPlacement {
|
||||
|
Loading…
x
Reference in New Issue
Block a user