/** * Get the <code>TextureAtlasTile</code> for the given Texture * @param texture The texture to retrieve the <code>TextureAtlasTile</code> for. * @return the atlas tile */ public TextureAtlasTile getAtlasTile(Texture texture) { String sourceTextureName = textureName(texture); if (sourceTextureName != null) { return getAtlasTile(sourceTextureName); } return null; }
TextureAtlasTile tile = getAtlasTile(tex); if (tile != null) { FloatBuffer inPos = (FloatBuffer) inBuf.getData();
/** * Get the <code>TextureAtlasTile</code> for the given Texture * @param texture The texture to retrieve the <code>TextureAtlasTile</code> for. * @return the atlas tile */ public TextureAtlasTile getAtlasTile(Texture texture) { String sourceTextureName = textureName(texture); if (sourceTextureName != null) { return getAtlasTile(sourceTextureName); } return null; }
TextureAtlasTile tile = getAtlasTile(tex); if (tile != null) { FloatBuffer inPos = (FloatBuffer) inBuf.getData();