Examples of ChunkPosition


Examples of se.llbit.chunky.world.ChunkPosition

    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));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.