simplified TextureAtlas.fromTexture

simpified and better commented