Package Hexel.generation.terrainGenerator.heightMaps

Examples of Hexel.generation.terrainGenerator.heightMaps.HeightMap.containsPoint()


        int ry = this.getHeight()/s/2;
        for (int x = -rx; x < rx; x++) {
          for (int y = -ry; y < ry; y++) {
            int hx = x+xshift;
            int hy = y+yshift;
            if (hm == null || !hm.containsPoint(hx, hy)){
              hm = tmg.getHeightMapAtXY(hx, hy, tmp, null);
            }
            int h = tmg.getHeight(hx, hy, tmp, hm);
            int wh = tmg.getWaterHeight(hx, hy, tmp);
            if (wh > h){
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.