Searched refs:textureOffsetY (Results 1 – 1 of 1) sorted by relevance
97 int textureOffsetY = (tileIndex / textureTilesAcross) * tileHeight; in generateGrid() local100 textureOffsetY < 0 || in generateGrid()101 textureOffsetY > texture.height - tileHeight) { in generateGrid()103 textureOffsetY = 0; in generateGrid()106 final float v = (textureOffsetY + GL_MAGIC_OFFSET) * texelHeight; in generateGrid()108 … final float v2 = ((textureOffsetY + tileHeight - GL_MAGIC_OFFSET) * texelHeight); in generateGrid()