From 63fb53f6e4db07b84bfd9be84e495c6e7c30744a Mon Sep 17 00:00:00 2001 From: Dokthar Date: Wed, 11 May 2016 23:50:34 +0200 Subject: [PATCH] more typo ... ytpo ytop opyt ;) --- .../com/jme3/animation/AnimationFactory.java | 6 ++--- .../java/com/jme3/animation/AudioTrack.java | 6 ++--- .../com/jme3/animation/ClonableTrack.java | 6 ++--- .../java/com/jme3/animation/EffectTrack.java | 18 ++++++------- .../com/jme3/app/ChaseCameraAppState.java | 13 +++++----- .../java/com/jme3/cinematic/Cinematic.java | 26 +++++++++---------- .../java/com/jme3/cinematic/MotionPath.java | 4 +-- .../jme3/cinematic/MotionPathListener.java | 2 +- .../events/AbstractCinematicEvent.java | 14 +++++----- .../jme3/cinematic/events/AnimationEvent.java | 14 +++++----- .../jme3/cinematic/events/CinematicEvent.java | 2 +- .../jme3/cinematic/events/MotionEvent.java | 4 +-- .../com/jme3/cinematic/events/SoundEvent.java | 26 +++++++++---------- .../com/jme3/cinematic/events/SoundTrack.java | 4 +-- .../main/java/com/jme3/input/ChaseCamera.java | 12 ++++----- .../main/java/com/jme3/light/SpotLight.java | 4 +-- .../src/main/java/com/jme3/math/Spline.java | 8 +++--- .../jme3/shader/Glsl100ShaderGenerator.java | 18 ++++++------- .../com/jme3/shadow/AbstractShadowFilter.java | 8 +++--- .../jme3/shadow/AbstractShadowRenderer.java | 4 +-- .../com/jme3/shadow/PssmShadowFilter.java | 8 +++--- .../com/jme3/shadow/PssmShadowRenderer.java | 10 +++---- .../main/java/com/jme3/util/BufferUtils.java | 18 ++++++------- .../src/main/java/com/jme3/util/ListSort.java | 4 +-- .../com/jme3/util/MaterialDebugAppState.java | 4 +-- .../MikktspaceTangentGenerator.java | 2 +- .../java/jme3tools/optimize/LodGenerator.java | 14 +++++----- 27 files changed, 130 insertions(+), 129 deletions(-) diff --git a/jme3-core/src/main/java/com/jme3/animation/AnimationFactory.java b/jme3-core/src/main/java/com/jme3/animation/AnimationFactory.java index 38e22ea30..53a7c8ede 100644 --- a/jme3-core/src/main/java/com/jme3/animation/AnimationFactory.java +++ b/jme3-core/src/main/java/com/jme3/animation/AnimationFactory.java @@ -44,10 +44,10 @@ import com.jme3.math.Vector3f; * Usage is :
* - Create the AnimationHelper
* - add some keyFrames
- * - call the buildAnimation() method that will retruna new Animation
+ * - call the buildAnimation() method that will return a new Animation
* - add the generated Animation to any existing AnimationControl
*

- * Note that the first keyFrame (index 0) is defaulted with the identy transforms. + * Note that the first keyFrame (index 0) is defaulted with the identity transforms. * If you want to change that you have to replace this keyFrame with any transform you want. * * @author Nehon @@ -55,7 +55,7 @@ import com.jme3.math.Vector3f; public class AnimationFactory { /** - * step for splitting rotation that have a n ange above PI/2 + * step for splitting rotation that have a n angle above PI/2 */ private final static float EULER_STEP = FastMath.QUARTER_PI * 3; diff --git a/jme3-core/src/main/java/com/jme3/animation/AudioTrack.java b/jme3-core/src/main/java/com/jme3/animation/AudioTrack.java index fc67686d2..f4c53e4f1 100644 --- a/jme3-core/src/main/java/com/jme3/animation/AudioTrack.java +++ b/jme3-core/src/main/java/com/jme3/animation/AudioTrack.java @@ -46,7 +46,7 @@ import java.util.logging.Level; import java.util.logging.Logger; /** - * AudioTrack is a track to add to an existing animation, to paly a sound during + * AudioTrack is a track to add to an existing animation, to play a sound during * an animations for example : gun shot, foot step, shout, etc... * * usage is @@ -144,7 +144,7 @@ public class AudioTrack implements ClonableTrack { } /** - * Retruns the length of the track + * Return the length of the track * * @return length of the track */ @@ -170,7 +170,7 @@ public class AudioTrack implements ClonableTrack { /** * This method clone the Track and search for the cloned counterpart of the * original audio node in the given cloned spatial. The spatial is assumed - * to be the Spatial holding the AnimControl controling the animation using + * to be the Spatial holding the AnimControl controlling the animation using * this Track. * * @param spatial the Spatial holding the AnimControl diff --git a/jme3-core/src/main/java/com/jme3/animation/ClonableTrack.java b/jme3-core/src/main/java/com/jme3/animation/ClonableTrack.java index bfdd87abd..6dd94c806 100644 --- a/jme3-core/src/main/java/com/jme3/animation/ClonableTrack.java +++ b/jme3-core/src/main/java/com/jme3/animation/ClonableTrack.java @@ -36,7 +36,7 @@ import com.jme3.util.clone.JmeCloneable; /** * An interface that allow to clone a Track for a given Spatial. - * The spatial fed to the method is the Spatial holding the AnimControl controling the Animation using this track. + * The spatial fed to the method is the Spatial holding the AnimControl controlling the Animation using this track. * * Implement this interface only if you make your own Savable Track and that the track has a direct reference to a Spatial in the scene graph. * This Spatial is assumed to be a child of the spatial holding the AnimControl. @@ -48,11 +48,11 @@ public interface ClonableTrack extends Track, JmeCloneable { /** * Allows to clone the track for a given Spatial. - * The spatial fed to the method is the Spatial holding the AnimControl controling the Animation using this track. + * The spatial fed to the method is the Spatial holding the AnimControl controlling the Animation using this track. * This method will be called during the loading process of a j3o model by the assetManager. * The assetManager keeps the original model in cache and returns a clone of the model. * - * This method prupose is to find the cloned reference of the original spatial which it refers to in the cloned model. + * This method purpose is to find the cloned reference of the original spatial which it refers to in the cloned model. * * See EffectTrack for a proper implementation. * diff --git a/jme3-core/src/main/java/com/jme3/animation/EffectTrack.java b/jme3-core/src/main/java/com/jme3/animation/EffectTrack.java index 89500c1cd..c801e1989 100644 --- a/jme3-core/src/main/java/com/jme3/animation/EffectTrack.java +++ b/jme3-core/src/main/java/com/jme3/animation/EffectTrack.java @@ -51,7 +51,7 @@ import java.util.logging.Level; import java.util.logging.Logger; /** - * EffectTrack is a track to add to an existing animation, to emmit particles + * EffectTrack is a track to add to an existing animation, to emit particles * during animations for example : exhausts, dust raised by foot steps, shock * waves, lightnings etc... * @@ -62,9 +62,9 @@ import java.util.logging.Logger; * control.getAnim("TheAnim").addTrack(track); * * - * if the emitter has emmits 0 particles per seconds emmitAllPArticles will be + * if the emitter has emits 0 particles per seconds emmitAllPArticles will be * called on it at time 0 + startOffset. if it he it has more it will start - * emmit normally at time 0 + startOffset. + * emit normally at time 0 + startOffset. * * * @author Nehon @@ -167,7 +167,7 @@ public class EffectTrack implements ClonableTrack { /** * Creates and EffectTrack * - * @param emitter the emmitter of the track + * @param emitter the emitter of the track * @param length the length of the track (usually the length of the * animation you want to add the track to) */ @@ -186,10 +186,10 @@ public class EffectTrack implements ClonableTrack { /** * Creates and EffectTrack * - * @param emitter the emmitter of the track + * @param emitter the emitter of the track * @param length the length of the track (usually the length of the * animation you want to add the track to) - * @param startOffset the time in second when the emitter will be triggerd + * @param startOffset the time in second when the emitter will be triggered * after the animation starts (default is 0) */ public EffectTrack(ParticleEmitter emitter, float length, float startOffset) { @@ -244,7 +244,7 @@ public class EffectTrack implements ClonableTrack { } /** - * Retruns the length of the track + * Return the length of the track * * @return length of the track */ @@ -269,8 +269,8 @@ public class EffectTrack implements ClonableTrack { /** * This method clone the Track and search for the cloned counterpart of the - * original emmitter in the given cloned spatial. The spatial is assumed to - * be the Spatial holding the AnimControl controling the animation using + * original emitter in the given cloned spatial. The spatial is assumed to + * be the Spatial holding the AnimControl controlling the animation using * this Track. * * @param spatial the Spatial holding the AnimControl diff --git a/jme3-core/src/main/java/com/jme3/app/ChaseCameraAppState.java b/jme3-core/src/main/java/com/jme3/app/ChaseCameraAppState.java index 64eb6e5e7..2aa8bebb6 100644 --- a/jme3-core/src/main/java/com/jme3/app/ChaseCameraAppState.java +++ b/jme3-core/src/main/java/com/jme3/app/ChaseCameraAppState.java @@ -51,7 +51,7 @@ import com.jme3.scene.control.CameraControl; import com.jme3.util.TempVars; /** - * This class is a camera controler that allow the camera to follow a target + * This class is a camera controller that allow the camera to follow a target * Spatial. * * @author Nehon @@ -110,7 +110,6 @@ public class ChaseCameraAppState extends AbstractAppState implements ActionListe /** * Registers inputs with the input manager * - * @param inputManager */ public final void registerWithInput() { @@ -216,7 +215,7 @@ public class ChaseCameraAppState extends AbstractAppState implements ActionListe } /** - * Sets custom triggers for toggleing the rotation of the cam deafult are + * Sets custom triggers for toggling the rotation of the cam default are * new MouseButtonTrigger(MouseInput.BUTTON_LEFT) left mouse button new * MouseButtonTrigger(MouseInput.BUTTON_RIGHT) right mouse button * @@ -232,7 +231,7 @@ public class ChaseCameraAppState extends AbstractAppState implements ActionListe } /** - * Sets custom triggers for zomming in the cam default is new + * Sets custom triggers for zooming in the cam default is new * MouseAxisTrigger(MouseInput.AXIS_WHEEL, true) mouse wheel up * * @param triggers @@ -247,7 +246,7 @@ public class ChaseCameraAppState extends AbstractAppState implements ActionListe } /** - * Sets custom triggers for zomming out the cam default is new + * Sets custom triggers for zooming out the cam default is new * MouseAxisTrigger(MouseInput.AXIS_WHEEL, false) mouse wheel down * * @param triggers @@ -293,6 +292,8 @@ public class ChaseCameraAppState extends AbstractAppState implements ActionListe /** * Sets the min zoom distance of the camera (default is 1) + * + * @param minDistance */ public void setMinDistance(float minDistance) { this.minDistance = minDistance; @@ -383,7 +384,7 @@ public class ChaseCameraAppState extends AbstractAppState implements ActionListe } /** - * Sets the default distance at start of applicaiton + * Sets the default distance at start of application * * @param defaultDistance */ diff --git a/jme3-core/src/main/java/com/jme3/cinematic/Cinematic.java b/jme3-core/src/main/java/com/jme3/cinematic/Cinematic.java index e610ef40b..6e1432f4a 100644 --- a/jme3-core/src/main/java/com/jme3/cinematic/Cinematic.java +++ b/jme3-core/src/main/java/com/jme3/cinematic/Cinematic.java @@ -53,9 +53,9 @@ import java.util.logging.Level; import java.util.logging.Logger; /** - * An appstate for composing and playing cut scenes in a game. The cineamtic + * An appstate for composing and playing cut scenes in a game. The cinematic * schedules CinematicEvents over a timeline. Once the Cinematic created it has - * to be attched to the stateManager. + * to be attached to the stateManager. * * You can add various CinematicEvents to a Cinematic, see package * com.jme3.cinematic.events @@ -70,7 +70,7 @@ import java.util.logging.Logger; * Cinematic#enqueueCinematicEvent(com.jme3.cinematic.events.CinematicEvent) * that enqueue events one after the other according to their initialDuration * - * a cinematic has convenient mathods to handle the playback : + * a cinematic has convenient methods to handle the playback : * @see Cinematic#play() * @see Cinematic#pause() * @see Cinematic#stop() @@ -214,7 +214,7 @@ public class Cinematic extends AbstractCinematicEvent implements AppState { } /** - * used internally for srialization + * used internally for serialization * * @param im * @throws IOException @@ -273,7 +273,7 @@ public class Cinematic extends AbstractCinematicEvent implements AppState { /** * passing true has the same effect as play() you should use play(), - * pause(), stop() to handle the cinemaic playing state. + * pause(), stop() to handle the cinematic playing state. * * @param enabled true or false */ @@ -349,7 +349,7 @@ public class Cinematic extends AbstractCinematicEvent implements AppState { } /** - * This is used internally but can be alled to shuffle through the + * This is used internally but can be called to shuffle through the * cinematic. * * @param time the time to shuffle to. @@ -386,7 +386,7 @@ public class Cinematic extends AbstractCinematicEvent implements AppState { * Adds a cinematic event to this cinematic at the given timestamp. This * operation returns a keyFrame * - * @param timeStamp the time when the event will start after the begining of + * @param timeStamp the time when the event will start after the beginning of * the cinematic * @param cinematicEvent the cinematic event * @return the keyFrame for that event. @@ -411,7 +411,7 @@ public class Cinematic extends AbstractCinematicEvent implements AppState { * duration * * @param cinematicEvent the cinematic event to enqueue - * @return the timestamp the evnt was scheduled. + * @return the timestamp the event was scheduled. */ public float enqueueCinematicEvent(CinematicEvent cinematicEvent) { float scheduleTime = nextEnqueue; @@ -494,7 +494,7 @@ public class Cinematic extends AbstractCinematicEvent implements AppState { } /** - * fits the duration of the cinamatic to the duration of all its child + * fits the duration of the cinematic to the duration of all its child * cinematic events */ public void fitDuration() { @@ -537,7 +537,7 @@ public class Cinematic extends AbstractCinematicEvent implements AppState { /** * returns a cameraNode given its name * - * @param cameraName the camera name (as registerd in + * @param cameraName the camera name (as registered in * Cinematic#bindCamera()) * @return the cameraNode for this name */ @@ -560,7 +560,7 @@ public class Cinematic extends AbstractCinematicEvent implements AppState { * Sets the active camera instantly (use activateCamera if you want to * schedule that event) * - * @param cameraName the camera name (as registerd in + * @param cameraName the camera name (as registered in * Cinematic#bindCamera()) */ public void setActiveCamera(String cameraName) { @@ -576,7 +576,7 @@ public class Cinematic extends AbstractCinematicEvent implements AppState { * schedule an event that will activate the camera at the given time * * @param timeStamp the time to activate the cam - * @param cameraName the camera name (as registerd in + * @param cameraName the camera name (as registered in * Cinematic#bindCamera()) */ public void activateCamera(final float timeStamp, final String cameraName) { @@ -680,7 +680,7 @@ public class Cinematic extends AbstractCinematicEvent implements AppState { * sets the scene to use for this cinematic it is expected that the scene is * added before adding events to the cinematic * - * @param scene the scene where the cinematic should ttake place. + * @param scene the scene where the cinematic should take place. */ public void setScene(Node scene) { this.scene = scene; diff --git a/jme3-core/src/main/java/com/jme3/cinematic/MotionPath.java b/jme3-core/src/main/java/com/jme3/cinematic/MotionPath.java index 2a6325747..881b07684 100644 --- a/jme3-core/src/main/java/com/jme3/cinematic/MotionPath.java +++ b/jme3-core/src/main/java/com/jme3/cinematic/MotionPath.java @@ -69,10 +69,10 @@ public class MotionPath implements Savable { } /** - * interpolate the path giving the time since the beginnin and the motionControl + * interpolate the path giving the time since the beginning and the motionControl * this methods sets the new localTranslation to the spatial of the MotionEvent control. * @param time the time since the animation started - * @param control the ocntrol over the moving spatial + * @param control the control over the moving spatial */ public float interpolatePath(float time, MotionEvent control, float tpf) { diff --git a/jme3-core/src/main/java/com/jme3/cinematic/MotionPathListener.java b/jme3-core/src/main/java/com/jme3/cinematic/MotionPathListener.java index 216d1af42..f441aae5e 100644 --- a/jme3-core/src/main/java/com/jme3/cinematic/MotionPathListener.java +++ b/jme3-core/src/main/java/com/jme3/cinematic/MotionPathListener.java @@ -34,7 +34,7 @@ package com.jme3.cinematic; import com.jme3.cinematic.events.MotionEvent; /** - * Trigger the events appening on an motion path + * Trigger the events happening on an motion path * @author Nehon */ public interface MotionPathListener { diff --git a/jme3-core/src/main/java/com/jme3/cinematic/events/AbstractCinematicEvent.java b/jme3-core/src/main/java/com/jme3/cinematic/events/AbstractCinematicEvent.java index 69206eecf..695eb9349 100644 --- a/jme3-core/src/main/java/com/jme3/cinematic/events/AbstractCinematicEvent.java +++ b/jme3-core/src/main/java/com/jme3/cinematic/events/AbstractCinematicEvent.java @@ -45,10 +45,10 @@ import java.util.ArrayList; import java.util.List; /** - * This call contains the basic behaviour of a cinematic event. + * This call contains the basic behavior of a cinematic event. * Every cinematic event must extend this class. * - * A cinematic event must be given an inital duration in seconds + * A cinematic event must be given an initial duration in seconds * (duration of the event at speed = 1). Default is 10 sec. * @author Nehon */ @@ -67,13 +67,13 @@ public abstract class AbstractCinematicEvent implements CinematicEvent { protected List listeners; /** - * Contruct a cinematic event (empty constructor). + * Construct a cinematic event (empty constructor). */ public AbstractCinematicEvent() { } /** - * Contruct a cinematic event with the given initial duration. + * Construct a cinematic event with the given initial duration. * @param initialDuration */ public AbstractCinematicEvent(float initialDuration) { @@ -81,7 +81,7 @@ public abstract class AbstractCinematicEvent implements CinematicEvent { } /** - * Contruct a cinematic event with the given loopMode. + * Construct a cinematic event with the given loopMode. * @param loopMode */ public AbstractCinematicEvent(LoopMode loopMode) { @@ -89,7 +89,7 @@ public abstract class AbstractCinematicEvent implements CinematicEvent { } /** - * Contruct a cinematic event with the given loopMode and the given initialDuration. + * Construct a cinematic event with the given loopMode and the given initialDuration. * @param initialDuration the duration of the event at speed = 1. * @param loopMode the loop mode of the event. */ @@ -199,7 +199,7 @@ public abstract class AbstractCinematicEvent implements CinematicEvent { public abstract void onPause(); /** - * Returns the actual duration of the animtion (initialDuration/speed) + * Returns the actual duration of the animation (initialDuration/speed) * @return */ public float getDuration() { diff --git a/jme3-core/src/main/java/com/jme3/cinematic/events/AnimationEvent.java b/jme3-core/src/main/java/com/jme3/cinematic/events/AnimationEvent.java index 738b445b1..c77da581d 100644 --- a/jme3-core/src/main/java/com/jme3/cinematic/events/AnimationEvent.java +++ b/jme3-core/src/main/java/com/jme3/cinematic/events/AnimationEvent.java @@ -77,7 +77,7 @@ public class AnimationEvent extends AbstractCinematicEvent { /** * used for serialization don't call directly use one of the following - * contructors + * constructors */ public AnimationEvent() { } @@ -99,7 +99,7 @@ public class AnimationEvent extends AbstractCinematicEvent { * * @param model the model on which the animation will be played * @param animationName the name of the animation to play - * @param initialDuration the initialduration of the event + * @param initialDuration the initial duration of the event */ public AnimationEvent(Spatial model, String animationName, float initialDuration) { super(initialDuration); @@ -127,7 +127,7 @@ public class AnimationEvent extends AbstractCinematicEvent { * * @param model the model on which the animation will be played * @param animationName the name of the animation to play - * @param initialDuration the initialduration of the event + * @param initialDuration the initial duration of the event * @param loopMode the loopMode * @see LoopMode */ @@ -142,7 +142,7 @@ public class AnimationEvent extends AbstractCinematicEvent { * * @param model the model on which the animation will be played * @param animationName the name of the animation to play - * @param initialDuration the initialduration of the event + * @param initialDuration the initial duration of the event * @param blendTime the time during the animation are gonna be blended * @see AnimChannel#setAnim(java.lang.String, float) */ @@ -176,7 +176,7 @@ public class AnimationEvent extends AbstractCinematicEvent { * * @param model the model on which the animation will be played * @param animationName the name of the animation to play - * @param initialDuration the initialduration of the event + * @param initialDuration the initial duration of the event * @param loopMode the loopMode * @see LoopMode * @param blendTime the time during the animation are gonna be blended @@ -245,7 +245,7 @@ public class AnimationEvent extends AbstractCinematicEvent { * * @param model the model on which the animation will be played * @param animationName the name of the animation to play - * @param initialDuration the initialduration of the event + * @param initialDuration the initial duration of the event * @param channelIndex the index of the channel default is 0. Events on the * same channelIndex will use the same channel. */ @@ -261,7 +261,7 @@ public class AnimationEvent extends AbstractCinematicEvent { * * @param model the model on which the animation will be played * @param animationName the name of the animation to play - * @param initialDuration the initialduration of the event + * @param initialDuration the initial duration of the event * @param loopMode the loopMode * @see LoopMode * @param channelIndex the index of the channel default is 0. Events on the diff --git a/jme3-core/src/main/java/com/jme3/cinematic/events/CinematicEvent.java b/jme3-core/src/main/java/com/jme3/cinematic/events/CinematicEvent.java index ddac3f01f..d5355c9c1 100644 --- a/jme3-core/src/main/java/com/jme3/cinematic/events/CinematicEvent.java +++ b/jme3-core/src/main/java/com/jme3/cinematic/events/CinematicEvent.java @@ -136,7 +136,7 @@ public interface CinematicEvent extends Savable { public void initEvent(Application app, Cinematic cinematic); /** - * When this method is invoked, the event should fast forward to the given time according tim 0 is the start of the event. + * When this method is invoked, the event should fast forward to the given time according time 0 is the start of the event. * @param time the time to fast forward to */ public void setTime(float time); diff --git a/jme3-core/src/main/java/com/jme3/cinematic/events/MotionEvent.java b/jme3-core/src/main/java/com/jme3/cinematic/events/MotionEvent.java index 60acb4c56..0a070e922 100644 --- a/jme3-core/src/main/java/com/jme3/cinematic/events/MotionEvent.java +++ b/jme3-core/src/main/java/com/jme3/cinematic/events/MotionEvent.java @@ -90,8 +90,8 @@ public class MotionEvent extends AbstractCinematicEvent implements Control, JmeC */ Path, /** - * The target rotates with the direction of the path but with the additon of a rtotation - * you need to use the setRotation mathod when using this Direction + * The target rotates with the direction of the path but with the addition of a rotation + * you need to use the setRotation method when using this Direction */ PathAndRotation, /** diff --git a/jme3-core/src/main/java/com/jme3/cinematic/events/SoundEvent.java b/jme3-core/src/main/java/com/jme3/cinematic/events/SoundEvent.java index 1d52f221f..02c3ae754 100644 --- a/jme3-core/src/main/java/com/jme3/cinematic/events/SoundEvent.java +++ b/jme3-core/src/main/java/com/jme3/cinematic/events/SoundEvent.java @@ -54,7 +54,7 @@ public class SoundEvent extends AbstractCinematicEvent { /** * creates a sound track from the given resource path - * @param path the path to an audi file (ie : "Sounds/mySound.wav") + * @param path the path to an audio file (ie : "Sounds/mySound.wav") */ public SoundEvent(String path) { this.path = path; @@ -62,7 +62,7 @@ public class SoundEvent extends AbstractCinematicEvent { /** * creates a sound track from the given resource path - * @param path the path to an audi file (ie : "Sounds/mySound.wav") + * @param path the path to an audio file (ie : "Sounds/mySound.wav") * @param stream true to make the audio data streamed */ public SoundEvent(String path, boolean stream) { @@ -72,9 +72,9 @@ public class SoundEvent extends AbstractCinematicEvent { /** * creates a sound track from the given resource path - * @param path the path to an audi file (ie : "Sounds/mySound.wav") + * @param path the path to an audio file (ie : "Sounds/mySound.wav") * @param stream true to make the audio data streamed - * @param initialDuration the nitial duration of the event + * @param initialDuration the initial duration of the event */ public SoundEvent(String path, boolean stream, float initialDuration) { super(initialDuration); @@ -84,7 +84,7 @@ public class SoundEvent extends AbstractCinematicEvent { /** * creates a sound track from the given resource path - * @param path the path to an audi file (ie : "Sounds/mySound.wav") + * @param path the path to an audio file (ie : "Sounds/mySound.wav") * @param stream true to make the audio data streamed * @param loopMode the loopMode * @see LoopMode @@ -97,9 +97,9 @@ public class SoundEvent extends AbstractCinematicEvent { /** * creates a sound track from the given resource path - * @param path the path to an audi file (ie : "Sounds/mySound.wav") + * @param path the path to an audio file (ie : "Sounds/mySound.wav") * @param stream true to make the audio data streamed - * @param initialDuration the nitial duration of the event + * @param initialDuration the initial duration of the event * @param loopMode the loopMode * @see LoopMode */ @@ -111,8 +111,8 @@ public class SoundEvent extends AbstractCinematicEvent { /** * creates a sound track from the given resource path - * @param path the path to an audi file (ie : "Sounds/mySound.wav") - * @param initialDuration the nitial duration of the event + * @param path the path to an audio file (ie : "Sounds/mySound.wav") + * @param initialDuration the initial duration of the event */ public SoundEvent(String path, float initialDuration) { super(initialDuration); @@ -121,7 +121,7 @@ public class SoundEvent extends AbstractCinematicEvent { /** * creates a sound track from the given resource path - * @param path the path to an audi file (ie : "Sounds/mySound.wav") + * @param path the path to an audio file (ie : "Sounds/mySound.wav") * @param loopMode the loopMode * @see LoopMode */ @@ -132,8 +132,8 @@ public class SoundEvent extends AbstractCinematicEvent { /** * creates a sound track from the given resource path - * @param path the path to an audi file (ie : "Sounds/mySound.wav") - * @param initialDuration the nitial duration of the event + * @param path the path to an audio file (ie : "Sounds/mySound.wav") + * @param initialDuration the initial duration of the event * @param loopMode the loopMode * @see LoopMode */ @@ -192,7 +192,7 @@ public class SoundEvent extends AbstractCinematicEvent { } /** - * Returns the underlying audion node of this sound track + * Returns the underlying audio node of this sound track * @return */ public AudioNode getAudioNode() { diff --git a/jme3-core/src/main/java/com/jme3/cinematic/events/SoundTrack.java b/jme3-core/src/main/java/com/jme3/cinematic/events/SoundTrack.java index 2b245b757..33d34a571 100644 --- a/jme3-core/src/main/java/com/jme3/cinematic/events/SoundTrack.java +++ b/jme3-core/src/main/java/com/jme3/cinematic/events/SoundTrack.java @@ -43,7 +43,7 @@ public class SoundTrack extends SoundEvent { /** * creates a sound track from the given resource path - * @param path the path to an audi file (ie : "Sounds/mySound.wav") + * @param path the path to an audio file (ie : "Sounds/mySound.wav") */ public SoundTrack(String path) { super(path); @@ -51,7 +51,7 @@ public class SoundTrack extends SoundEvent { /** * creates a sound track from the given resource path - * @param path the path to an audi file (ie : "Sounds/mySound.wav") + * @param path the path to an audio file (ie : "Sounds/mySound.wav") * @param stream true to make the audio data streamed */ public SoundTrack(String path, boolean stream) { diff --git a/jme3-core/src/main/java/com/jme3/input/ChaseCamera.java b/jme3-core/src/main/java/com/jme3/input/ChaseCamera.java index de2c6e8ae..2ffe850fe 100644 --- a/jme3-core/src/main/java/com/jme3/input/ChaseCamera.java +++ b/jme3-core/src/main/java/com/jme3/input/ChaseCamera.java @@ -267,8 +267,8 @@ public class ChaseCamera implements ActionListener, AnalogListener, Control, Jme } /** - * Sets custom triggers for toggleing the rotation of the cam - * deafult are + * Sets custom triggers for toggling the rotation of the cam + * default are * new MouseButtonTrigger(MouseInput.BUTTON_LEFT) left mouse button * new MouseButtonTrigger(MouseInput.BUTTON_RIGHT) right mouse button * @param triggers @@ -280,7 +280,7 @@ public class ChaseCamera implements ActionListener, AnalogListener, Control, Jme } /** - * Sets custom triggers for zomming in the cam + * Sets custom triggers for zooming in the cam * default is * new MouseAxisTrigger(MouseInput.AXIS_WHEEL, true) mouse wheel up * @param triggers @@ -292,7 +292,7 @@ public class ChaseCamera implements ActionListener, AnalogListener, Control, Jme } /** - * Sets custom triggers for zomming out the cam + * Sets custom triggers for zooming out the cam * default is * new MouseAxisTrigger(MouseInput.AXIS_WHEEL, false) mouse wheel down * @param triggers @@ -719,7 +719,7 @@ public class ChaseCamera implements ActionListener, AnalogListener, Control, Jme } /** - * Sets the rotation sensitivity, the lower the value the slower the camera will rotates around the target when draging with the mouse + * Sets the rotation sensitivity, the lower the value the slower the camera will rotates around the target when dragging with the mouse * default is 5, values over 5 should have no effect. * If you want a significant slow down try values below 1. * Only has an effect if smoothMotion is set to true @@ -820,7 +820,7 @@ public class ChaseCamera implements ActionListener, AnalogListener, Control, Jme } /** - * Sets the default distance at start of applicaiton + * Sets the default distance at start of application * @param defaultDistance */ public void setDefaultDistance(float defaultDistance) { diff --git a/jme3-core/src/main/java/com/jme3/light/SpotLight.java b/jme3-core/src/main/java/com/jme3/light/SpotLight.java index 982488687..636f1447f 100644 --- a/jme3-core/src/main/java/com/jme3/light/SpotLight.java +++ b/jme3-core/src/main/java/com/jme3/light/SpotLight.java @@ -48,7 +48,7 @@ import java.io.IOException; /** * Represents a spot light. * A spot light emits a cone of light from a position and in a direction. - * It can be used to fake torch lights or cars' lights. + * It can be used to fake torch lights or car's lights. *

* In addition to a position and a direction, spot lights also have a range which * can be used to attenuate the influence of the light depending on the @@ -415,7 +415,7 @@ public class SpotLight extends Light { /** * for internal use only - * @return the cosines of the inner and outter angle packed in a float + * @return the cosines of the inner and outer angle packed in a float */ public float getPackedAngleCos() { return packedAngleCos; diff --git a/jme3-core/src/main/java/com/jme3/math/Spline.java b/jme3-core/src/main/java/com/jme3/math/Spline.java index 2220ea8b7..2f3155c55 100644 --- a/jme3-core/src/main/java/com/jme3/math/Spline.java +++ b/jme3-core/src/main/java/com/jme3/math/Spline.java @@ -273,8 +273,8 @@ public class Spline implements Savable { } /** - * Iterpolate a position on the spline - * @param value a value from 0 to 1 that represent the postion between the curent control point and the next one + * Interpolate a position on the spline + * @param value a value from 0 to 1 that represent the position between the current control point and the next one * @param currentControlPoint the current control point * @param store a vector to store the result (use null to create a new one that will be returned by the method) * @return the position @@ -350,7 +350,7 @@ public class Spline implements Savable { } /** - * return the total lenght of the spline + * return the total length of the spline */ public float getTotalLength() { return totalLength; @@ -380,7 +380,7 @@ public class Spline implements Savable { } /** - * returns a list of float representing the segments lenght + * returns a list of float representing the segments length */ public List getSegmentsLength() { return segmentsLength; diff --git a/jme3-core/src/main/java/com/jme3/shader/Glsl100ShaderGenerator.java b/jme3-core/src/main/java/com/jme3/shader/Glsl100ShaderGenerator.java index ffe96d0f0..9edcd505a 100644 --- a/jme3-core/src/main/java/com/jme3/shader/Glsl100ShaderGenerator.java +++ b/jme3-core/src/main/java/com/jme3/shader/Glsl100ShaderGenerator.java @@ -66,7 +66,7 @@ public class Glsl100ShaderGenerator extends ShaderGenerator { } /** - * decalre a list of uniforms + * declare a list of uniforms * * @param source the source to append to * @param uniforms the list of uniforms @@ -81,7 +81,7 @@ public class Glsl100ShaderGenerator extends ShaderGenerator { /** * {@inheritDoc} * - * attributes are all declared, inPositon is decalred even if it's not in + * attributes are all declared, inPositon is declared even if it's not in * the list and it's condition is nulled. */ @Override @@ -187,7 +187,7 @@ public class Glsl100ShaderGenerator extends ShaderGenerator { } /** - * Appends an ouput assignment to a shader globalOutputName = + * Appends an output assignment to a shader globalOutputName = * nameSpace_varName; * * @param source the source StringBuilter to append the code. @@ -212,7 +212,7 @@ public class Glsl100ShaderGenerator extends ShaderGenerator { * * 1. declaring and mapping input
* variables : variable replaced with MatParams or WorldParams are not - * declared and are replaced by the parma acual name in the code. For others + * declared and are replaced by the param actual name in the code. For others * variables, the name space is appended with a "_" before the variable name * in the code to avoid names collision between shaderNodes.
* @@ -227,7 +227,7 @@ public class Glsl100ShaderGenerator extends ShaderGenerator { * 4. mapping outputs to global output if needed
* *
- * All of this is embed in a #if coditional statement if needed + * All of this is embed in a #if conditional statement if needed */ @Override protected void generateNodeMainSection(StringBuilder source, ShaderNode shaderNode, String nodeSource, ShaderGenerationInfo info) { @@ -432,7 +432,7 @@ public class Glsl100ShaderGenerator extends ShaderGenerator { /** * replaces a variable name in a shaderNode source code by prefixing it * with its nameSpace and "_" if needed. - * @param nodeSource the source ot modify + * @param nodeSource the source to modify * @param var the variable to replace * @return the modified source */ @@ -476,7 +476,7 @@ public class Glsl100ShaderGenerator extends ShaderGenerator { /** * returns the name space to append for a variable. - * Attributes, WorldParam and MatParam names psace must not be appended + * Attributes, WorldParam and MatParam names space must not be appended * @param var the variable * @return the namespace to append for this variable */ @@ -493,7 +493,7 @@ public class Glsl100ShaderGenerator extends ShaderGenerator { * One can use a #if defined(inputVariableName) in a shaderNode code. * This method is responsible for changing the variable name with the * appropriate defined based on the mapping condition of this variable. - * Complex condition synthax are handled. + * Complex condition syntax are handled. * * @param nodeSource the sahderNode source code * @param shaderNode the ShaderNode being processed @@ -574,7 +574,7 @@ public class Glsl100ShaderGenerator extends ShaderGenerator { * @param source the StringBuilder to use * @param var the variable to declare as an varying * @param input a boolean set to true if the this varying is an input. - * this in not used in this implementaiton but can be used in overidings + * this in not used in this implementation but can be used in overridings * implementation */ protected void declareVarying(StringBuilder source, ShaderNodeVariable var, boolean input) { diff --git a/jme3-core/src/main/java/com/jme3/shadow/AbstractShadowFilter.java b/jme3-core/src/main/java/com/jme3/shadow/AbstractShadowFilter.java index f882ac580..0d839be29 100644 --- a/jme3-core/src/main/java/com/jme3/shadow/AbstractShadowFilter.java +++ b/jme3-core/src/main/java/com/jme3/shadow/AbstractShadowFilter.java @@ -51,7 +51,7 @@ import java.io.IOException; /** * * Generic abstract filter that holds common implementations for the different - * shadow filtesr + * shadow filters * * @author Rémy Bouquet aka Nehon */ @@ -140,7 +140,7 @@ public abstract class AbstractShadowFilter ext /** * Set the distance from the eye where the shadows will be rendered default - * value is dynamicaly computed to the shadow casters/receivers union bound + * value is dynamically computed to the shadow casters/receivers union bound * zFar, capped to view frustum far value. * * @param zFar the zFar values that override the computed one @@ -181,7 +181,7 @@ public abstract class AbstractShadowFilter ext /** * Set the shadowIntensity, the value should be between 0 and 1, a 0 value - * gives a bright and invisilble shadow, a 1 value gives a pitch black + * gives a bright and invisible shadow, a 1 value gives a pitch black * shadow, default is 0.7 * * @param shadowIntensity the darkness of the shadow @@ -285,7 +285,7 @@ public abstract class AbstractShadowFilter ext /** * returns the pre shadows pass render state. * use it to adjust the RenderState parameters of the pre shadow pass. - * Note that this will be overriden if the preShadow technique in the material has a ForcedRenderState + * Note that this will be overridden if the preShadow technique in the material has a ForcedRenderState * @return the pre shadow render state. */ public RenderState getPreShadowForcedRenderState() { diff --git a/jme3-core/src/main/java/com/jme3/shadow/AbstractShadowRenderer.java b/jme3-core/src/main/java/com/jme3/shadow/AbstractShadowRenderer.java index d1b4586b3..7ae9f9cfd 100644 --- a/jme3-core/src/main/java/com/jme3/shadow/AbstractShadowRenderer.java +++ b/jme3-core/src/main/java/com/jme3/shadow/AbstractShadowRenderer.java @@ -621,7 +621,7 @@ public abstract class AbstractShadowRenderer implements SceneProcessor, Savable /** * Set the distance from the eye where the shadows will be rendered default - * value is dynamicaly computed to the shadow casters/receivers union bound + * value is dynamically computed to the shadow casters/receivers union bound * zFar, capped to view frustum far value. * * @param zFar the zFar values that override the computed one @@ -752,7 +752,7 @@ public abstract class AbstractShadowRenderer implements SceneProcessor, Savable /** * returns the pre shadows pass render state. * use it to adjust the RenderState parameters of the pre shadow pass. - * Note that this will be overriden if the preShadow technique in the material has a ForcedRenderState + * Note that this will be overridden if the preShadow technique in the material has a ForcedRenderState * @return the pre shadow render state. */ public RenderState getPreShadowForcedRenderState() { diff --git a/jme3-core/src/main/java/com/jme3/shadow/PssmShadowFilter.java b/jme3-core/src/main/java/com/jme3/shadow/PssmShadowFilter.java index eda1c5ee6..eecd9a28a 100644 --- a/jme3-core/src/main/java/com/jme3/shadow/PssmShadowFilter.java +++ b/jme3-core/src/main/java/com/jme3/shadow/PssmShadowFilter.java @@ -140,7 +140,7 @@ public class PssmShadowFilter extends Filter { } /** - * returns the labda parameter + * returns the lambda parameter * @see #setLambda(float lambda) * @return lambda */ @@ -171,7 +171,7 @@ public class PssmShadowFilter extends Filter { /** * Set the distance from the eye where the shadows will be rendered - * default value is dynamicaly computed to the shadow casters/receivers union bound zFar, capped to view frustum far value. + * default value is dynamically computed to the shadow casters/receivers union bound zFar, capped to view frustum far value. * @param zFar the zFar values that override the computed one */ public void setShadowZExtend(float zFar) { @@ -179,7 +179,7 @@ public class PssmShadowFilter extends Filter { } /** - * returns the shdaow intensity + * returns the shadow intensity * @see #setShadowIntensity(float shadowIntensity) * @return shadowIntensity */ @@ -189,7 +189,7 @@ public class PssmShadowFilter extends Filter { /** * Set the shadowIntensity, the value should be between 0 and 1, - * a 0 value gives a bright and invisilble shadow, + * a 0 value gives a bright and invisible shadow, * a 1 value gives a pitch black shadow, * default is 0.7 * @param shadowIntensity the darkness of the shadow diff --git a/jme3-core/src/main/java/com/jme3/shadow/PssmShadowRenderer.java b/jme3-core/src/main/java/com/jme3/shadow/PssmShadowRenderer.java index a4f06df41..bf6362d62 100644 --- a/jme3-core/src/main/java/com/jme3/shadow/PssmShadowRenderer.java +++ b/jme3-core/src/main/java/com/jme3/shadow/PssmShadowRenderer.java @@ -481,7 +481,7 @@ public class PssmShadowRenderer implements SceneProcessor { } /** - * For dubuging purpose Allow to "snapshot" the current frustrum to the + * For debugging purpose Allow to "snapshot" the current frustrum to the * scene */ public void displayDebug() { @@ -591,7 +591,7 @@ public class PssmShadowRenderer implements SceneProcessor { } /** - * returns the labda parameter see #setLambda(float lambda) + * returns the lambda parameter see #setLambda(float lambda) * * @return lambda */ @@ -623,7 +623,7 @@ public class PssmShadowRenderer implements SceneProcessor { /** * Set the distance from the eye where the shadows will be rendered default - * value is dynamicaly computed to the shadow casters/receivers union bound + * value is dynamically computed to the shadow casters/receivers union bound * zFar, capped to view frustum far value. * * @param zFar the zFar values that override the computed one @@ -637,7 +637,7 @@ public class PssmShadowRenderer implements SceneProcessor { } /** - * returns the shdaow intensity + * returns the shadow intensity * * @see #setShadowIntensity(float shadowIntensity) * @return shadowIntensity @@ -648,7 +648,7 @@ public class PssmShadowRenderer implements SceneProcessor { /** * Set the shadowIntensity, the value should be between 0 and 1, a 0 value - * gives a bright and invisilble shadow, a 1 value gives a pitch black + * gives a bright and invisible shadow, a 1 value gives a pitch black * shadow, default is 0.7 * * @param shadowIntensity the darkness of the shadow diff --git a/jme3-core/src/main/java/com/jme3/util/BufferUtils.java b/jme3-core/src/main/java/com/jme3/util/BufferUtils.java index feb3ff8cd..20189afb1 100644 --- a/jme3-core/src/main/java/com/jme3/util/BufferUtils.java +++ b/jme3-core/src/main/java/com/jme3/util/BufferUtils.java @@ -325,7 +325,7 @@ public final class BufferUtils { * @param buf * the buffer to insert into * @param index - * the postion to place the data; in terms of quaternions not floats + * the position to place the data; in terms of quaternions not floats */ public static void setInBuffer(Quaternion quat, FloatBuffer buf, int index) { @@ -345,7 +345,7 @@ public final class BufferUtils { * @param buf * the buffer to insert into * @param index - * the postion to place the data; in terms of vector4 not floats + * the position to place the data; in terms of vector4 not floats */ public static void setInBuffer(Vector4f vec, FloatBuffer buf, int index) { @@ -438,7 +438,7 @@ public final class BufferUtils { /** * Copies a Vector3f from one position in the buffer to another. The index - * values are in terms of vector number (eg, vector number 0 is postions 0-2 + * values are in terms of vector number (eg, vector number 0 is positions 0-2 * in the FloatBuffer.) * * @param buf @@ -600,7 +600,7 @@ public final class BufferUtils { * @param buf * the buffer to insert into * @param index - * the postion to place the data; in terms of vectors not floats + * the position to place the data; in terms of vectors not floats */ public static void setInBuffer(Vector2f vector, FloatBuffer buf, int index) { buf.put(index * 2, vector.x); @@ -643,7 +643,7 @@ public final class BufferUtils { /** * Copies a Vector2f from one position in the buffer to another. The index - * values are in terms of vector number (eg, vector number 0 is postions 0-1 + * values are in terms of vector number (eg, vector number 0 is positions 0-1 * in the FloatBuffer.) * * @param buf @@ -835,7 +835,7 @@ public final class BufferUtils { /** * Creates a new DoubleBuffer with the same contents as the given - * DoubleBuffer. The new DoubleBuffer is seperate from the old one and + * DoubleBuffer. The new DoubleBuffer is separate from the old one and * changes are not reflected across. If you want to reflect changes, * consider using Buffer.duplicate(). * @@ -897,7 +897,7 @@ public final class BufferUtils { /** * Creates a new FloatBuffer with the same contents as the given - * FloatBuffer. The new FloatBuffer is seperate from the old one and changes + * FloatBuffer. The new FloatBuffer is separate from the old one and changes * are not reflected across. If you want to reflect changes, consider using * Buffer.duplicate(). * @@ -960,7 +960,7 @@ public final class BufferUtils { /** * Creates a new IntBuffer with the same contents as the given IntBuffer. - * The new IntBuffer is seperate from the old one and changes are not + * The new IntBuffer is separate from the old one and changes are not * reflected across. If you want to reflect changes, consider using * Buffer.duplicate(). * @@ -1116,7 +1116,7 @@ public final class BufferUtils { /** * Creates a new ShortBuffer with the same contents as the given ShortBuffer. - * The new ShortBuffer is seperate from the old one and changes are not + * The new ShortBuffer is separate from the old one and changes are not * reflected across. If you want to reflect changes, consider using * Buffer.duplicate(). * diff --git a/jme3-core/src/main/java/com/jme3/util/ListSort.java b/jme3-core/src/main/java/com/jme3/util/ListSort.java index db16ef10c..8f61961ad 100644 --- a/jme3-core/src/main/java/com/jme3/util/ListSort.java +++ b/jme3-core/src/main/java/com/jme3/util/ListSort.java @@ -124,7 +124,7 @@ public class ListSort { } /** - * Allocate temp veriables for the given length This method should be called + * Allocate temp variables for the given length This method should be called * at least once, but only if the length of the list to sort changed before * sorting * @@ -427,7 +427,7 @@ public class ListSort { /** * Merge runs A and B where A index in the stack is idx and B index is idx+1 * - * @param idx index of the firts of two runs to merge + * @param idx index of the first of two runs to merge */ private void mergeRuns(int idx) { diff --git a/jme3-core/src/main/java/com/jme3/util/MaterialDebugAppState.java b/jme3-core/src/main/java/com/jme3/util/MaterialDebugAppState.java index 6197aca35..01464f67b 100644 --- a/jme3-core/src/main/java/com/jme3/util/MaterialDebugAppState.java +++ b/jme3-core/src/main/java/com/jme3/util/MaterialDebugAppState.java @@ -67,10 +67,10 @@ import java.util.logging.Logger; * This appState is for debug purpose only, and was made to provide an easy way * to test shaders, with a live update capability. * - * This calss provides and easy way to reload a material and catches compilation + * This class provides and easy way to reload a material and catches compilation * errors when needed and displays the error in the console. * - * If no error accur on compilation, the material is reloaded in the scene. + * If no error occur on compilation, the material is reloaded in the scene. * * You can either trigger the reload when pressing a key (or whatever input is * supported by Triggers you can attach to the input manager), or trigger it diff --git a/jme3-core/src/main/java/com/jme3/util/mikktspace/MikktspaceTangentGenerator.java b/jme3-core/src/main/java/com/jme3/util/mikktspace/MikktspaceTangentGenerator.java index af20b842b..d3f6f4395 100644 --- a/jme3-core/src/main/java/com/jme3/util/mikktspace/MikktspaceTangentGenerator.java +++ b/jme3-core/src/main/java/com/jme3/util/mikktspace/MikktspaceTangentGenerator.java @@ -23,7 +23,7 @@ import java.util.logging.Logger; * https://developer.blender.org/diffusion/B/browse/master/intern/mikktspace/mikktspace.c * https://developer.blender.org/diffusion/B/browse/master/intern/mikktspace/mikktspace.h * - * MikkTspace looks like the new standard of tengent generation in 3D softwares. + * MikkTspace looks like the new standard of tangent generation in 3D softwares. * Xnormal, Blender, Substance painter, and many more use it. * * Usage is : diff --git a/jme3-core/src/tools/java/jme3tools/optimize/LodGenerator.java b/jme3-core/src/tools/java/jme3tools/optimize/LodGenerator.java index 41ee727a9..56bc02bd1 100644 --- a/jme3-core/src/tools/java/jme3tools/optimize/LodGenerator.java +++ b/jme3-core/src/tools/java/jme3tools/optimize/LodGenerator.java @@ -81,14 +81,14 @@ import java.util.logging.Logger; * informations can be found here http://www.melax.com/polychop * http://sajty.elementfx.com/progressivemesh/GSoC2012.pdf

* - *

The algorithm sort the vertice according to their collapsse cost + *

The algorithm sort vertices according to their collapse cost * ascending. It collapse from the "cheapest" vertex to the more expensive.
* Usage :
*

  *      LodGenerator lODGenerator = new LodGenerator(geometry);
  *      lODGenerator.bakeLods(reductionMethod,reductionvalue);
  * 
redutionMethod type is VertexReductionMethod described here - * {@link TriangleReductionMethod} reductionvalue depends on the + * {@link TriangleReductionMethod} reduction value depends on the * reductionMethod

* * @@ -111,7 +111,7 @@ public class LodGenerator { private Mesh mesh; /** - * Describe the way trinagles will be removed.
PROPORTIONAL : + * Describe the way triangles will be removed.
PROPORTIONAL : * Percentage of triangles to be removed from the mesh. Valid range is a * number between 0.0 and 1.0
CONSTANT : Triangle count to be removed * from the mesh. Pass only integers or it will be rounded.
@@ -240,7 +240,7 @@ public class LodGenerator { } } /** - * Compartator used to sort vertices according to their collapse cost + * Comparator used to sort vertices according to their collapse cost */ private Comparator collapseComparator = new Comparator() { public int compare(Vertex o1, Vertex o2) { @@ -525,14 +525,14 @@ public class LodGenerator { /** * Computes the lod and return a list of VertexBuffers that can then be used - * for lod (use Mesg.setLodLevels(VertexBuffer[]))
+ * for lod (use Mesh.setLodLevels(VertexBuffer[]))
* * This method must be fed with the reduction method * {@link TriangleReductionMethod} and a list of reduction values.
for * each value a lod will be generated.
The resulting array will always * contain at index 0 the original index buffer of the mesh.

* Important note : some meshes cannot be decimated, so the - * result of this method can varry depending of the given mesh. Also the + * result of this method can vary depending of the given mesh. Also the * reduction values are indicative and the produces mesh will not always * meet the required reduction. * @@ -597,7 +597,7 @@ public class LodGenerator { * This method must be fed with the reduction method * {@link TriangleReductionMethod} and a list of reduction values.
for * each value a lod will be generated.

Important note : - * some meshes cannot be decimated, so the result of this method can varry + * some meshes cannot be decimated, so the result of this method can vary * depending of the given mesh. Also the reduction values are indicative and * the produces mesh will not always meet the required reduction. *