Start merging in 1.16.5_QuadTree

The mod does compile and render, however distance LODs don't generate or render correctly and there are other problems as well.
This commit is contained in:
James Seibel
2021-08-04 23:07:03 -05:00
30 changed files with 5957 additions and 108 deletions
@@ -18,6 +18,7 @@
package com.seibel.lod.objects;
import java.awt.Color;
import java.util.Objects;
import com.seibel.lod.handlers.LodDimensionFileHandler;
@@ -72,8 +73,17 @@ public class LodDataPoint
depth = (short) newDepth;
color = newColor;
}
public int hashCode(){
return Objects.hash(this.height, this.depth, this.color);
}
public boolean equals(LodDataPoint other){
return (this.height == other.height
&& this.depth == other.depth
&& this.color == other.color);
}
/**
* Outputs all data in a csv format
* with the given delimiter.