- small javadoc fixes for TextureAtlas

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9058 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent 64c5e75684
commit d18460ae33
  1. 7
      engine/src/tools/jme3tools/optimize/TextureAtlas.java

@ -169,7 +169,6 @@ public class TextureAtlas {
* @param texture A texture to add to the atlas. * @param texture A texture to add to the atlas.
* @param mapName A freely chosen map name that can be later retrieved as a Texture. * @param mapName A freely chosen map name that can be later retrieved as a Texture.
* @param masterTexture The master texture for determining the location, it has to exist in tha master map. * @param masterTexture The master texture for determining the location, it has to exist in tha master map.
* @return false if the atlas is full
*/ */
public void addTexture(Texture texture, String mapName, Texture masterTexture) { public void addTexture(Texture texture, String mapName, Texture masterTexture) {
String sourceTextureName = textureName(masterTexture); String sourceTextureName = textureName(masterTexture);
@ -551,9 +550,9 @@ public class TextureAtlas {
} }
/** /**
* Get the transformed texture location for a given input location. * Get the transformed texture coordinate for a given input location.
* @param previousLocation. * @param previousLocation The old texture coordinate.
* @return * @return The new texture coordinate inside the atlas.
*/ */
public Vector2f getLocation(Vector2f previousLocation) { public Vector2f getLocation(Vector2f previousLocation) {
float x = (float) getX() / (float) atlasWidth; float x = (float) getX() / (float) atlasWidth;

Loading…
Cancel
Save