From d18460ae3372c7c70b8ca21fb10eeb24f22b692c Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Sun, 15 Jan 2012 15:33:03 +0000 Subject: [PATCH] - small javadoc fixes for TextureAtlas git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9058 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/tools/jme3tools/optimize/TextureAtlas.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/engine/src/tools/jme3tools/optimize/TextureAtlas.java b/engine/src/tools/jme3tools/optimize/TextureAtlas.java index 9a9329e15..2cacce5be 100644 --- a/engine/src/tools/jme3tools/optimize/TextureAtlas.java +++ b/engine/src/tools/jme3tools/optimize/TextureAtlas.java @@ -169,7 +169,6 @@ public class TextureAtlas { * @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 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) { String sourceTextureName = textureName(masterTexture); @@ -551,9 +550,9 @@ public class TextureAtlas { } /** - * Get the transformed texture location for a given input location. - * @param previousLocation. - * @return + * Get the transformed texture coordinate for a given input location. + * @param previousLocation The old texture coordinate. + * @return The new texture coordinate inside the atlas. */ public Vector2f getLocation(Vector2f previousLocation) { float x = (float) getX() / (float) atlasWidth;