Searched refs:worldPixelWidth (Results 1 – 3 of 3) sorted by relevance
193 final float worldPixelWidth = Math.max(level.getLevelWidth(), width); in snapFocalPointToWorldBoundsX() local197 if (rightEdge > worldPixelWidth) { in snapFocalPointToWorldBoundsX()198 focalPositionX = worldPixelWidth - (width / 2.0f); in snapFocalPointToWorldBoundsX()
123 final float worldPixelWidth = level.getLevelWidth(); in getHitTileX() local124 xTile = (int)Math.floor(((worldX) / worldPixelWidth) * mWorld.getWidth()); in getHitTileX()
166 final float worldPixelWidth = mWorldPixelWidth; in draw() local169 scrollOriginX != 0.0f ? scrollOriginX / worldPixelWidth : 0.0f; in draw()