Home
last modified time | relevance | path

Searched refs:textureOffsetY (Results 1 – 1 of 1) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DTiledVertexGrid.java97 int textureOffsetY = (tileIndex / textureTilesAcross) * tileHeight; in generateGrid() local
100 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()