Searched refs:GL_MAGIC_OFFSET (Results 1 – 1 of 1) sorted by relevance
22 private static final float GL_MAGIC_OFFSET = 0.375f; field in TiledVertexGrid105 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()