diff --git a/engine/src/android/com/jme3/renderer/android/OGLESShaderRenderer.java b/engine/src/android/com/jme3/renderer/android/OGLESShaderRenderer.java index 00559e5dc..006e5b1a5 100644 --- a/engine/src/android/com/jme3/renderer/android/OGLESShaderRenderer.java +++ b/engine/src/android/com/jme3/renderer/android/OGLESShaderRenderer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2010 jMonkeyEngine + * Copyright (c) 2009-2012 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1460,10 +1460,9 @@ public class OGLESShaderRenderer implements Renderer { } /** - * updateTexImageData activates and binds the texture + * activates and binds the texture * @param img * @param type - * @param needMips */ public void updateTexImageData(Image img, Texture.Type type) { int texId = img.getId(); diff --git a/engine/src/blender/com/jme3/scene/plugins/blender/constraints/definitions/ConstraintDefinitionFactory.java b/engine/src/blender/com/jme3/scene/plugins/blender/constraints/definitions/ConstraintDefinitionFactory.java index c0c42a008..4aea3dbf4 100644 --- a/engine/src/blender/com/jme3/scene/plugins/blender/constraints/definitions/ConstraintDefinitionFactory.java +++ b/engine/src/blender/com/jme3/scene/plugins/blender/constraints/definitions/ConstraintDefinitionFactory.java @@ -46,10 +46,6 @@ public class ConstraintDefinitionFactory { * * @param constraintStructure * the constraint's structure (bConstraint clss in blender 2.49). If the value is null the NullConstraint is created. - * @param ownerOMA - * the old memory address of the constraint's owner - * @param influenceIpo - * the ipo curve of the influence factor * @param blenderContext * the blender context * @throws BlenderFileException diff --git a/engine/src/blender/com/jme3/scene/plugins/blender/curves/CurvesHelper.java b/engine/src/blender/com/jme3/scene/plugins/blender/curves/CurvesHelper.java index 2edf1d5be..f5ecdc995 100644 --- a/engine/src/blender/com/jme3/scene/plugins/blender/curves/CurvesHelper.java +++ b/engine/src/blender/com/jme3/scene/plugins/blender/curves/CurvesHelper.java @@ -366,8 +366,6 @@ public class CurvesHelper extends AbstractBlenderHelper { * the taper curve length * @param percent * the percent of way along the whole taper curve - * @param store - * the vector where the result will be stored */ protected float getTaperScale(float[] taperPoints, float taperLength, float percent) { float length = taperLength * percent; diff --git a/engine/src/blender/com/jme3/scene/plugins/blender/textures/ColorBand.java b/engine/src/blender/com/jme3/scene/plugins/blender/textures/ColorBand.java index 4a5131af2..f4ad14b1a 100644 --- a/engine/src/blender/com/jme3/scene/plugins/blender/textures/ColorBand.java +++ b/engine/src/blender/com/jme3/scene/plugins/blender/textures/ColorBand.java @@ -31,10 +31,9 @@ public class ColorBand { /** * Constructor. Loads the data from the given structure. - * - * @param cbdataStructure - * the colorband structure - */ + * @param tex + * @param blenderContext + */ @SuppressWarnings("unchecked") public ColorBand(Structure tex, BlenderContext blenderContext) { int flag = ((Number) tex.getFieldValue("flag")).intValue(); diff --git a/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/TextureBlenderAWT.java b/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/TextureBlenderAWT.java index 3aeedc4a7..bd39da0f3 100644 --- a/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/TextureBlenderAWT.java +++ b/engine/src/blender/com/jme3/scene/plugins/blender/textures/blending/TextureBlenderAWT.java @@ -114,10 +114,6 @@ public class TextureBlenderAWT extends AbstractTextureBlender { * the material color * @param pixelColor * the pixel color - * @param blendFactor - * the blending factor - * @param blendtype - * the blending type * @param blenderContext * the blender context */ diff --git a/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/RagdollUtils.java b/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/RagdollUtils.java index 02bab98c3..bf218839b 100644 --- a/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/RagdollUtils.java +++ b/engine/src/bullet-common/com/jme3/bullet/control/ragdoll/RagdollUtils.java @@ -97,8 +97,11 @@ public class RagdollUtils { /** * Create a hull collision shape from linked vertices to this bone. * Vertices have to be previoulsly gathered in a map using buildPointMap method - * @param link - * @param model + * + * @param pointsMap + * @param boneIndices + * @param initialScale + * @param initialPosition * @return */ public static HullCollisionShape makeShapeFromPointMap(Map> pointsMap, List boneIndices, Vector3f initialScale, Vector3f initialPosition) { @@ -149,8 +152,11 @@ public class RagdollUtils { /** * Create a hull collision shape from linked vertices to this bone. * - * @param link * @param model + * @param boneIndices + * @param initialScale + * @param initialPosition + * @param weightThreshold * @return */ public static HullCollisionShape makeShapeFromVerticeWeights(Spatial model, List boneIndices, Vector3f initialScale, Vector3f initialPosition, float weightThreshold) { diff --git a/engine/src/core-effects/com/jme3/post/filters/BloomFilter.java b/engine/src/core-effects/com/jme3/post/filters/BloomFilter.java index cddc7c0a7..adde49dd5 100644 --- a/engine/src/core-effects/com/jme3/post/filters/BloomFilter.java +++ b/engine/src/core-effects/com/jme3/post/filters/BloomFilter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2010 jMonkeyEngine + * Copyright (c) 2009-2012 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -237,7 +237,7 @@ public class BloomFilter extends Filter { /** * returns the exposure cutoff
- * for more details see {@link setExposureCutOff(float exposureCutOff)} + * for more details see {@link #setExposureCutOff(float exposureCutOff)} * @return */ public float getExposureCutOff() { @@ -254,7 +254,7 @@ public class BloomFilter extends Filter { /** * returns the exposure power
- * form more details see {@link setExposurePower(float exposurePower)} + * form more details see {@link #setExposurePower(float exposurePower)} * @return */ public float getExposurePower() { @@ -272,7 +272,7 @@ public class BloomFilter extends Filter { /** * returns the downSampling factor
- * form more details see {@link setDownSamplingFactor(float downSamplingFactor)} + * form more details see {@link #setDownSamplingFactor(float downSamplingFactor)} * @return */ public float getDownSamplingFactor() { diff --git a/engine/src/core-effects/com/jme3/post/filters/CartoonEdgeFilter.java b/engine/src/core-effects/com/jme3/post/filters/CartoonEdgeFilter.java index a107f5bb2..da1830d93 100644 --- a/engine/src/core-effects/com/jme3/post/filters/CartoonEdgeFilter.java +++ b/engine/src/core-effects/com/jme3/post/filters/CartoonEdgeFilter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2010 jMonkeyEngine + * Copyright (c) 2009-2012 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -107,7 +107,7 @@ public class CartoonEdgeFilter extends Filter { /** * Return the depth sensitivity
- * for more details see {@link setDepthSensitivity(float depthSensitivity)} + * for more details see {@link #setDepthSensitivity(float depthSensitivity)} * @return */ public float getDepthSensitivity() { @@ -128,7 +128,7 @@ public class CartoonEdgeFilter extends Filter { /** * returns the depth threshold
- * for more details see {@link setDepthThreshold(float depthThreshold)} + * for more details see {@link #setDepthThreshold(float depthThreshold)} * @return */ public float getDepthThreshold() { @@ -149,7 +149,7 @@ public class CartoonEdgeFilter extends Filter { /** * returns the edge intensity
- * for more details see {@link setEdgeIntensity(float edgeIntensity) } + * for more details see {@link #setEdgeIntensity(float edgeIntensity) } * @return */ public float getEdgeIntensity() { @@ -190,7 +190,7 @@ public class CartoonEdgeFilter extends Filter { /** * returns the normals sensitivity
- * form more details see {@link setNormalSensitivity(float normalSensitivity)} + * form more details see {@link #setNormalSensitivity(float normalSensitivity)} * @return */ public float getNormalSensitivity() { @@ -210,7 +210,7 @@ public class CartoonEdgeFilter extends Filter { /** * returns the normal threshold
- * for more details see {@link setNormalThreshold(float normalThreshold)} + * for more details see {@link #setNormalThreshold(float normalThreshold)} * * @return */ diff --git a/engine/src/core-effects/com/jme3/post/filters/LightScatteringFilter.java b/engine/src/core-effects/com/jme3/post/filters/LightScatteringFilter.java index 8ac9d8733..9066d2b18 100644 --- a/engine/src/core-effects/com/jme3/post/filters/LightScatteringFilter.java +++ b/engine/src/core-effects/com/jme3/post/filters/LightScatteringFilter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2010 jMonkeyEngine + * Copyright (c) 2009-2012 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -136,7 +136,7 @@ public class LightScatteringFilter extends Filter { /** * returns the blur start of the scattering - * see {@link setBlurStart(float blurStart)} + * see {@link #setBlurStart(float blurStart)} * @return */ public float getBlurStart() { @@ -154,7 +154,7 @@ public class LightScatteringFilter extends Filter { /** * returns the blur width
- * see {@link setBlurWidth(float blurWidth)} + * see {@link #setBlurWidth(float blurWidth)} * @return */ public float getBlurWidth() { @@ -170,8 +170,8 @@ public class LightScatteringFilter extends Filter { } /** - * retiurns the light density
- * see {@link setLightDensity(float lightDensity)} + * returns the light density + * see {@link #setLightDensity(float lightDensity)} * * @return */ diff --git a/engine/src/core-effects/com/jme3/post/filters/PosterizationFilter.java b/engine/src/core-effects/com/jme3/post/filters/PosterizationFilter.java index c980edaee..2e380c610 100644 --- a/engine/src/core-effects/com/jme3/post/filters/PosterizationFilter.java +++ b/engine/src/core-effects/com/jme3/post/filters/PosterizationFilter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2010 jMonkeyEngine + * Copyright (c) 2009-2012 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -47,7 +47,7 @@ import com.jme3.renderer.ViewPort; * Based on an article from Geeks3D: * http://www.geeks3d.com/20091027/shader-library-posterization-post-processing-effect-glsl/ * - * @author: Roy Straver a.k.a. Baal Garnaal + * @author Roy Straver a.k.a. Baal Garnaal */ public class PosterizationFilter extends Filter { diff --git a/engine/src/core/com/jme3/animation/Animation.java b/engine/src/core/com/jme3/animation/Animation.java index 5ea707b63..5ae34628e 100644 --- a/engine/src/core/com/jme3/animation/Animation.java +++ b/engine/src/core/com/jme3/animation/Animation.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2011 jMonkeyEngine + * Copyright (c) 2009-2012 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -113,9 +113,8 @@ public class Animation implements Savable, Cloneable { /** * Set the {@link Track}s to be used by this animation. - *

* - * @param tracks The tracks to set. + * @param tracksArray The tracks to set. */ public void setTracks(Track[] tracksArray) { for (Track track : tracksArray) { diff --git a/engine/src/core/com/jme3/animation/AnimationFactory.java b/engine/src/core/com/jme3/animation/AnimationFactory.java index 308d5972a..38e22ea30 100644 --- a/engine/src/core/com/jme3/animation/AnimationFactory.java +++ b/engine/src/core/com/jme3/animation/AnimationFactory.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2011 jMonkeyEngine + * Copyright (c) 2009-2012 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -221,7 +221,7 @@ public class AnimationFactory { /** * Adds a key frame for the given rotation at the given time
* This can't be used if the interpolated angle is higher than PI (180°)
- * Use {@link addTimeRotationAngles(float time, float x, float y, float z)} instead that uses Euler angles rotations.
* + * Use {@link #addTimeRotationAngles(float time, float x, float y, float z)} instead that uses Euler angles rotations.
* * @param time the time at which the keyFrame must be inserted * @param rotation the rotation Quaternion to use for this keyFrame * @see #addTimeRotationAngles(float time, float x, float y, float z) @@ -233,7 +233,7 @@ public class AnimationFactory { /** * Adds a key frame for the given rotation at the given keyFrame index
* This can't be used if the interpolated angle is higher than PI (180°)
- * Use {@link addKeyFrameRotationAngles(int keyFrameIndex, float x, float y, float z)} instead that uses Euler angles rotations. + * Use {@link #addKeyFrameRotationAngles(int keyFrameIndex, float x, float y, float z)} instead that uses Euler angles rotations. * @param keyFrameIndex the index at which the keyFrame must be inserted * @param rotation the rotation Quaternion to use for this keyFrame * @see #addKeyFrameRotationAngles(int keyFrameIndex, float x, float y, float z) diff --git a/engine/src/core/com/jme3/export/SavableClassUtil.java b/engine/src/core/com/jme3/export/SavableClassUtil.java index 15bedecd3..e3249af36 100644 --- a/engine/src/core/com/jme3/export/SavableClassUtil.java +++ b/engine/src/core/com/jme3/export/SavableClassUtil.java @@ -157,7 +157,6 @@ public class SavableClassUtil { * are checked to handle special cases, if the modules do not handle the class name, the * class is instantiated directly. * @param className the class name to create. - * @param inputCapsule the InputCapsule that will be used for loading the Savable (to look up ctor parameters) * @return the Savable instance of the class. * @throws InstantiationException thrown if the class does not have an empty constructor. * @throws IllegalAccessException thrown if the class is not accessable. diff --git a/engine/src/core/com/jme3/input/ChaseCamera.java b/engine/src/core/com/jme3/input/ChaseCamera.java index a5f90ded7..5f6abc272 100644 --- a/engine/src/core/com/jme3/input/ChaseCamera.java +++ b/engine/src/core/com/jme3/input/ChaseCamera.java @@ -525,7 +525,6 @@ public class ChaseCamera implements ActionListener, AnalogListener, Control { /** * Sets the min zoom distance of the camera (default is 1) - * @return minDistance */ public void setMinDistance(float minDistance) { this.minDistance = minDistance; diff --git a/engine/src/core/com/jme3/material/TechniqueDef.java b/engine/src/core/com/jme3/material/TechniqueDef.java index 072f35f25..2df49d746 100644 --- a/engine/src/core/com/jme3/material/TechniqueDef.java +++ b/engine/src/core/com/jme3/material/TechniqueDef.java @@ -234,7 +234,8 @@ public class TechniqueDef implements Savable { * * @param vertexShader The name of the vertex shader * @param fragmentShader The name of the fragment shader - * @param shaderLanguage The shader language + * @param vertLanguage The vertex shader language + * @param fragLanguage The fragment shader language */ public void setShaderFile(String vertexShader, String fragmentShader, String vertLanguage, String fragLanguage){ this.vertName = vertexShader; diff --git a/engine/src/core/com/jme3/post/Filter.java b/engine/src/core/com/jme3/post/Filter.java index 919bfe715..ed246f6b3 100644 --- a/engine/src/core/com/jme3/post/Filter.java +++ b/engine/src/core/com/jme3/post/Filter.java @@ -289,8 +289,7 @@ public abstract class Filter implements Savable { /** * Override this method if you want to make a pre pass, before the actual rendering of the frame - * @param renderManager - * @param viewPort + * @param queue */ protected void postQueue(RenderQueue queue) { } diff --git a/engine/src/core/com/jme3/renderer/Renderer.java b/engine/src/core/com/jme3/renderer/Renderer.java index 818231979..23effdf20 100644 --- a/engine/src/core/com/jme3/renderer/Renderer.java +++ b/engine/src/core/com/jme3/renderer/Renderer.java @@ -285,7 +285,7 @@ public interface Renderer { * then resets the native objects. * * @see #resetGLObjects() - * @see NativeObject#deleteObject(com.jme3.renderer.Renderer) + * @see NativeObject#deleteObject(java.lang.Object) */ public void cleanup(); diff --git a/engine/src/core/com/jme3/scene/Mesh.java b/engine/src/core/com/jme3/scene/Mesh.java index 2a854e2eb..5bba0126b 100644 --- a/engine/src/core/com/jme3/scene/Mesh.java +++ b/engine/src/core/com/jme3/scene/Mesh.java @@ -434,8 +434,6 @@ public class Mesh implements Savable, Cloneable { /** * Get the mode start indices for {@link Mode#Hybrid} mesh mode. - * - * @return mode start indices */ public void setModeStart(int[] modeStart) { this.modeStart = modeStart; diff --git a/engine/src/core/com/jme3/shadow/PssmShadowFilter.java b/engine/src/core/com/jme3/shadow/PssmShadowFilter.java index 342f4f2c2..2e9256941 100644 --- a/engine/src/core/com/jme3/shadow/PssmShadowFilter.java +++ b/engine/src/core/com/jme3/shadow/PssmShadowFilter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2010 jMonkeyEngine + * Copyright (c) 2009-2012 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -138,8 +138,8 @@ public class PssmShadowFilter extends Filter { } /** - * returns the labda parameter
- * see {@link setLambda(float lambda)} + * returns the labda parameter + * @see #setLambda(float lambda) * @return lambda */ public float getLambda() { @@ -160,7 +160,7 @@ public class PssmShadowFilter extends Filter { /** * How far the shadows are rendered in the view - * see {@link setShadowZExtend(float zFar)} + * @see setShadowZExtend(float zFar) * @return shadowZExtend */ public float getShadowZExtend() { @@ -177,8 +177,8 @@ public class PssmShadowFilter extends Filter { } /** - * returns the shdaow intensity
- * see {@link setShadowIntensity(float shadowIntensity)} + * returns the shdaow intensity + * @see #setShadowIntensity(float shadowIntensity) * @return shadowIntensity */ public float getShadowIntensity() { @@ -198,7 +198,7 @@ public class PssmShadowFilter extends Filter { /** * returns the edges thickness
- * see {@link setEdgesThickness(int edgesThickness)} + * @see #setEdgesThickness(int edgesThickness) * @return edgesThickness */ public int getEdgesThickness() { diff --git a/engine/src/core/com/jme3/shadow/PssmShadowRenderer.java b/engine/src/core/com/jme3/shadow/PssmShadowRenderer.java index 1576c937d..26323c0dc 100644 --- a/engine/src/core/com/jme3/shadow/PssmShadowRenderer.java +++ b/engine/src/core/com/jme3/shadow/PssmShadowRenderer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2010 jMonkeyEngine All rights reserved. + * Copyright (c) 2009-2012 jMonkeyEngine All rights reserved. *

* Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -179,8 +179,7 @@ public class PssmShadowRenderer implements SceneProcessor { * @param manager the application asset manager * @param size the size of the rendered shadowmaps (512,1024,2048, etc...) * @param nbSplits the number of shadow maps rendered (the more shadow maps the more quality, the less fps). - * @param filterPass set this to true if you want the post shadow pass to be done in a Filter un screen space. - * @param postShadowMat the material used for post shadows if you need to override it + * @param postShadowMat the material used for post shadows if you need to override it */ protected PssmShadowRenderer(AssetManager manager, int size, int nbSplits, Material postShadowMat) { @@ -568,8 +567,8 @@ public class PssmShadowRenderer implements SceneProcessor { } /** - * returns the labda parameter
- * see {@link setLambda(float lambda)} + * returns the labda parameter + * see #setLambda(float lambda) * @return lambda */ public float getLambda() { @@ -590,7 +589,7 @@ public class PssmShadowRenderer implements SceneProcessor { /** * How far the shadows are rendered in the view - * see {@link setShadowZExtend(float zFar)} + * @see #setShadowZExtend(float zFar) * @return shadowZExtend */ public float getShadowZExtend() { @@ -607,8 +606,8 @@ public class PssmShadowRenderer implements SceneProcessor { } /** - * returns the shdaow intensity
- * see {@link setShadowIntensity(float shadowIntensity)} + * returns the shdaow intensity + * @see #setShadowIntensity(float shadowIntensity) * @return shadowIntensity */ public float getShadowIntensity() { @@ -629,8 +628,8 @@ public class PssmShadowRenderer implements SceneProcessor { } /** - * returns the edges thickness
- * see {@link setEdgesThickness(int edgesThickness)} + * returns the edges thickness + * @see #setEdgesThickness(int edgesThickness) * @return edgesThickness */ public int getEdgesThickness() { diff --git a/engine/src/core/com/jme3/texture/image/ImageRaster.java b/engine/src/core/com/jme3/texture/image/ImageRaster.java index 3040fa022..078a9cd1d 100644 --- a/engine/src/core/com/jme3/texture/image/ImageRaster.java +++ b/engine/src/core/com/jme3/texture/image/ImageRaster.java @@ -1,10 +1,8 @@ package com.jme3.texture.image; import com.jme3.math.ColorRGBA; -import com.jme3.math.FastMath; import com.jme3.system.JmeSystem; import com.jme3.texture.Image; -import java.nio.ByteBuffer; /** * Utility class for reading and writing from jME3 {@link Image images}. diff --git a/engine/src/desktop/jme3tools/navigation/NavCalculator.java b/engine/src/desktop/jme3tools/navigation/NavCalculator.java index 7145636d4..c54b0e259 100644 --- a/engine/src/desktop/jme3tools/navigation/NavCalculator.java +++ b/engine/src/desktop/jme3tools/navigation/NavCalculator.java @@ -1,7 +1,3 @@ -/* - * To change this template, choose Tools | Templates - * and open the template in the editor. - */ package jme3tools.navigation; diff --git a/engine/src/lwjgl/com/jme3/renderer/lwjgl/LwjglRenderer.java b/engine/src/lwjgl/com/jme3/renderer/lwjgl/LwjglRenderer.java index a2e61d8d0..195e9d004 100644 --- a/engine/src/lwjgl/com/jme3/renderer/lwjgl/LwjglRenderer.java +++ b/engine/src/lwjgl/com/jme3/renderer/lwjgl/LwjglRenderer.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2010 jMonkeyEngine + * Copyright (c) 2009-2012 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1780,7 +1780,6 @@ public class LwjglRenderer implements Renderer { * * @param img The image to upload * @param type How the data in the image argument should be interpreted. - * @param updateMipsOnly If true, then texture data is already updated for this image, only * @param unit The texture slot to be used to upload the image, not important */ public void updateTexImageData(Image img, Texture.Type type, int unit) { diff --git a/engine/src/terrain/com/jme3/terrain/geomipmap/LODGeomap.java b/engine/src/terrain/com/jme3/terrain/geomipmap/LODGeomap.java index e931b82a8..d4cf0ec80 100644 --- a/engine/src/terrain/com/jme3/terrain/geomipmap/LODGeomap.java +++ b/engine/src/terrain/com/jme3/terrain/geomipmap/LODGeomap.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2010 jMonkeyEngine + * Copyright (c) 2009-2012 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1047,8 +1047,6 @@ public class LODGeomap extends GeoMap { * * @param x local x coordinate * @param z local z coordinate - * @param scale - * @param translation * @return */ protected Triangle[] getGridTrianglesAtPoint(float x, float z) { diff --git a/engine/src/terrain/com/jme3/terrain/geomipmap/picking/BresenhamTerrainPicker.java b/engine/src/terrain/com/jme3/terrain/geomipmap/picking/BresenhamTerrainPicker.java index 9f044c6ef..0d4b3c54b 100644 --- a/engine/src/terrain/com/jme3/terrain/geomipmap/picking/BresenhamTerrainPicker.java +++ b/engine/src/terrain/com/jme3/terrain/geomipmap/picking/BresenhamTerrainPicker.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2010 jMonkeyEngine + * Copyright (c) 2009-2012 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -189,8 +189,8 @@ public class BresenhamTerrainPicker implements TerrainPicker { * grid row * @param gridY * grid column - * @param block - * the TerrainBlock we are working with + * @param patch + * the TerrainPatch we are working with * @return true if the grid point is valid for the given block, false if it * is off the block. */ @@ -222,8 +222,8 @@ public class BresenhamTerrainPicker implements TerrainPicker { * * @param position * the position to check at - * @param block - * the block to get height values from + * @param patch + * the patch to get height values from * @return an index to the height position of the given block. */ protected int findClosestHeightIndex(Vector3f position, TerrainPatch patch) {