This commit is contained in:
Anuken
2020-02-23 20:14:38 -05:00
18 changed files with 55 additions and 35 deletions

View File

@@ -28,6 +28,7 @@ public class PlanetDialog extends FloatingDialog{
private final VertexBatch3D batch = new VertexBatch3D(false, true, 0);
private float lastX, lastY;
private Sector selected;
public PlanetDialog(){
super("", Styles.fullDialog);
@@ -93,6 +94,7 @@ public class PlanetDialog extends FloatingDialog{
planet.mesh.render(cam.combined());
outline.render(cam.combined());
//dftactgrp sqlrpgle
Ptile tile = outline.getTile(cam.getPickRay(Core.input.mouseX(), Core.input.mouseY()));
if(tile != null){
float length = 0.1f;