Home
last modified time | relevance | path

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

/external/replicaisland/src/com/replica/replicaisland/
DTiledVertexGrid.java22 private static final float GL_MAGIC_OFFSET = 0.375f; field in TiledVertexGrid
105 final float u = (textureOffsetX + GL_MAGIC_OFFSET) * texelWidth; in generateGrid()
106 final float v = (textureOffsetY + GL_MAGIC_OFFSET) * texelHeight; in generateGrid()
107 final float u2 = ((textureOffsetX + tileWidth - GL_MAGIC_OFFSET) * texelWidth); in generateGrid()
108 … final float v2 = ((textureOffsetY + tileHeight - GL_MAGIC_OFFSET) * texelHeight); in generateGrid()