HomeSort by relevance Sort by last modified time
    Searched refs:layerTileWidth (Results 1 - 4 of 4) sorted by null

  /external/libgdx/gdx/src/com/badlogic/gdx/maps/tiled/renderers/
HexagonalTiledMapRenderer.java 112 final float layerTileWidth = layer.getTileWidth() * unitScale;
118 final float tileWidthLowerCorner = (layerTileWidth - layerHexLength) / 2;
119 final float tileWidthUpperCorner = (layerTileWidth + layerHexLength) / 2;
145 final float layerTileWidth50 = layerTileWidth * 0.50f;
151 final int col1 = Math.max(0, (int)(((viewBounds.x - layerTileWidth50) / layerTileWidth)));
152 final int col2 = Math.min(layerWidth, (int)((viewBounds.x + viewBounds.width + layerTileWidth) / layerTileWidth));
162 renderCell(layer.getCell(col, row), layerTileWidth * col + shiftX, tileHeightUpperCorner * row, color);
IsometricStaggeredTiledMapRenderer.java 55 final float layerTileWidth = layer.getTileWidth() * unitScale;
58 final float layerTileWidth50 = layerTileWidth * 0.50f;
61 final int minX = Math.max(0, (int)(((viewBounds.x - layerTileWidth50) / layerTileWidth)));
63 (int)((viewBounds.x + viewBounds.width + layerTileWidth + layerTileWidth50) / layerTileWidth));
81 float x1 = x * layerTileWidth - offsetX + tile.getOffsetX() * unitScale;
OrthogonalTiledMapRenderer.java 74 final float layerTileWidth = layer.getTileWidth() * unitScale;
77 final int col1 = Math.max(0, (int)(viewBounds.x / layerTileWidth));
78 final int col2 = Math.min(layerWidth, (int)((viewBounds.x + viewBounds.width + layerTileWidth) / layerTileWidth));
84 float xStart = col1 * layerTileWidth;
92 x += layerTileWidth;
203 x += layerTileWidth;
OrthoCachedTiledMapRenderer.java 217 final float layerTileWidth = layer.getTileWidth() * unitScale;
220 final int col1 = Math.max(0, (int)(cacheBounds.x / layerTileWidth));
221 final int col2 = Math.min(layerWidth, (int)((cacheBounds.x + cacheBounds.width + layerTileWidth) / layerTileWidth));
248 final float x1 = col * layerTileWidth + tile.getOffsetX() * unitScale;

Completed in 491 milliseconds