if (!mouseInsideWindow) {
return;
}
ChunkView cv = view;
ChunkPosition cp = end;
g.setFont(font);
g.setColor(Color.red);
if (selectRect) {
ChunkPosition cp0 = start;
ChunkPosition cp1 = end;
int x0 = Math.min(cp0.x, cp1.x);
int x1 = Math.max(cp0.x, cp1.x);
int z0 = Math.min(cp0.z, cp1.z);
int z1 = Math.max(cp0.z, cp1.z);
x0 = (int) (cv.scale * (x0 - cv.x0));