Add a int constructor to LodDataPoint
This commit is contained in:
@@ -9,7 +9,7 @@ import com.seibel.lod.handlers.LodDimensionFileHandler;
|
||||
* for a specific area in a LodChunk.
|
||||
*
|
||||
* @author James Seibel
|
||||
* @version 6-13-2021
|
||||
* @version 6-19-2021
|
||||
*/
|
||||
public class LodDataPoint
|
||||
{
|
||||
@@ -49,6 +49,13 @@ public class LodDataPoint
|
||||
color = newColor;
|
||||
}
|
||||
|
||||
public LodDataPoint(int newHeight, int newDepth, Color newColor)
|
||||
{
|
||||
height = (short) newHeight;
|
||||
depth = (short) newDepth;
|
||||
color = newColor;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Outputs all data in a csv format
|
||||
|
||||
Reference in New Issue
Block a user