diff --git a/jme3-android/src/main/java/com/jme3/input/android/AndroidSensorJoyInput.java b/jme3-android/src/main/java/com/jme3/input/android/AndroidSensorJoyInput.java
index 846c9c2df..4232e6082 100644
--- a/jme3-android/src/main/java/com/jme3/input/android/AndroidSensorJoyInput.java
+++ b/jme3-android/src/main/java/com/jme3/input/android/AndroidSensorJoyInput.java
@@ -59,7 +59,7 @@ import java.util.logging.Logger;
/**
* AndroidSensorJoyInput converts the Android Sensor system into Joystick events.
* A single joystick is configured and includes data for all configured sensors
- * as seperate axes of the joystick.
+ * as separate axes of the joystick.
*
* Each axis is named according to the static strings in SensorJoystickAxis.
* Refer to the strings defined in SensorJoystickAxis for a list of supported
diff --git a/jme3-blender/src/main/java/com/jme3/asset/BlenderKey.java b/jme3-blender/src/main/java/com/jme3/asset/BlenderKey.java
index 3b72088ab..6dbb205b5 100644
--- a/jme3-blender/src/main/java/com/jme3/asset/BlenderKey.java
+++ b/jme3-blender/src/main/java/com/jme3/asset/BlenderKey.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009-2012 jMonkeyEngine
+ * Copyright (c) 2009-2018 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -69,7 +69,7 @@ public class BlenderKey extends ModelKey {
*/
protected String usedWorld;
/**
- * User's default material that is set fo objects that have no material definition in blender. The default value is
+ * User's default material that is set for objects that have no material definition in blender. The default value is
* null. If the value is null the importer will use its own default material (gray color - like in blender).
*/
protected Material defaultMaterial;
@@ -476,9 +476,9 @@ public class BlenderKey extends ModelKey {
}
/**
- * This mehtod sets the name of the WORLD data block taht should be used during file loading. By default the name is
+ * This method sets the name of the WORLD data block that should be used during file loading. By default the name is
* not set. If no name is set or the given name does not occur in the file - the first WORLD data block will be used
- * during loading (assumin any exists in the file).
+ * during loading (assuming any exists in the file).
* @param usedWorld
* the name of the WORLD block used during loading
*/
@@ -487,7 +487,7 @@ public class BlenderKey extends ModelKey {
}
/**
- * This mehtod returns the name of the WORLD data block taht should be used during file loading.
+ * This method returns the name of the WORLD data block that should be used during file loading.
* @return the name of the WORLD block used during loading
*/
public String getUsedWorld() {
diff --git a/jme3-blender/src/main/java/com/jme3/scene/plugins/blender/file/DnaBlockData.java b/jme3-blender/src/main/java/com/jme3/scene/plugins/blender/file/DnaBlockData.java
index 35ffaa5db..9fae86160 100644
--- a/jme3-blender/src/main/java/com/jme3/scene/plugins/blender/file/DnaBlockData.java
+++ b/jme3-blender/src/main/java/com/jme3/scene/plugins/blender/file/DnaBlockData.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009-2012 jMonkeyEngine
+ * Copyright (c) 2009-2018 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -85,7 +85,7 @@ public class DnaBlockData {
names[i] = inputStream.readString();
}
- // reding types
+ // reading types
inputStream.alignPosition(4);
identifier = inputStream.readByte() << 24 | inputStream.readByte() << 16 | inputStream.readByte() << 8 | inputStream.readByte();
if (identifier != TYPE_ID) {
@@ -181,7 +181,7 @@ public class DnaBlockData {
/**
* This method converts the given identifier code to string.
* @param code
- * the code taht is to be converted
+ * the code that is to be converted
* @return the string value of the identifier
*/
private String toString(int code) {
diff --git a/jme3-blender/src/main/java/com/jme3/scene/plugins/blender/textures/ImageUtils.java b/jme3-blender/src/main/java/com/jme3/scene/plugins/blender/textures/ImageUtils.java
index 99ea9b5d2..8ca4f6330 100644
--- a/jme3-blender/src/main/java/com/jme3/scene/plugins/blender/textures/ImageUtils.java
+++ b/jme3-blender/src/main/java/com/jme3/scene/plugins/blender/textures/ImageUtils.java
@@ -206,7 +206,7 @@ public final class ImageUtils {
N.z = 1;
N.divideLocal(den);
- // setting thge pixel in the result image
+ // setting the pixel in the result image
bumpMap.setRGB(x, y, ImageUtils.vectorToColor(N.x, N.y, N.z));
}
}
@@ -422,7 +422,7 @@ public final class ImageUtils {
* pixel's X coordinate
* @param y
* pixel's Y coordinate
- * @return height reprezented by the given texture in the specified location
+ * @return height represented by the given texture in the specified location
*/
private static int getHeight(BufferedImage image, int x, int y) {
if (x < 0) {
diff --git a/jme3-bullet/src/common/java/com/jme3/bullet/control/KinematicRagdollControl.java b/jme3-bullet/src/common/java/com/jme3/bullet/control/KinematicRagdollControl.java
index 51749e9ad..bc446cbf6 100644
--- a/jme3-bullet/src/common/java/com/jme3/bullet/control/KinematicRagdollControl.java
+++ b/jme3-bullet/src/common/java/com/jme3/bullet/control/KinematicRagdollControl.java
@@ -171,7 +171,7 @@ public class KinematicRagdollControl extends AbstractPhysicsControl implements P
}
/**
- * contruct a KinematicRagdollControl
+ * construct a KinematicRagdollControl
*/
public KinematicRagdollControl() {
baseRigidBody = new PhysicsRigidBody(new BoxCollisionShape(Vector3f.UNIT_XYZ.mult(0.1f)), 1);
@@ -255,7 +255,7 @@ public class KinematicRagdollControl extends AbstractPhysicsControl implements P
link.bone.setUserTransformsInModelSpace(position, tmpRot1);
} else {
//boneList is not empty, this means some bones of the skeleton might not be associated with a collision shape.
- //So we update them recusively
+ //So we update them recursively
RagdollUtils.setTransform(link.bone, position, tmpRot1, false, boneList);
}
}
diff --git a/jme3-core/src/main/java/com/jme3/animation/BoneTrack.java b/jme3-core/src/main/java/com/jme3/animation/BoneTrack.java
index 72464a2e5..20b830db7 100644
--- a/jme3-core/src/main/java/com/jme3/animation/BoneTrack.java
+++ b/jme3-core/src/main/java/com/jme3/animation/BoneTrack.java
@@ -46,7 +46,7 @@ import java.util.BitSet;
public final class BoneTrack implements Track {
/**
- * Bone index in the skeleton which this track effects.
+ * Bone index in the skeleton which this track affects.
*/
private int targetBoneIndex;
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 7f618845a..ab50934ec 100644
--- a/jme3-core/src/main/java/com/jme3/animation/EffectTrack.java
+++ b/jme3-core/src/main/java/com/jme3/animation/EffectTrack.java
@@ -213,7 +213,7 @@ public class EffectTrack implements ClonableTrack {
control.addListener(new OnEndListener());
initialized = true;
}
- //checking fo time to trigger the effect
+ //checking for time to trigger the effect
if (!emitted && time >= startOffset) {
emitted = true;
emitter.setCullHint(CullHint.Dynamic);
@@ -449,7 +449,7 @@ public class EffectTrack implements ClonableTrack {
public void read(JmeImporter im) throws IOException {
InputCapsule in = im.getCapsule(this);
this.particlesPerSeconds = in.readFloat("particlesPerSeconds", 0);
- //reading the emitter even if the track will then reference its cloned counter part if it's loaded with the assetManager.
+ //reading the emitter even if the track will then reference its cloned counterpart if it's loaded with the assetManager.
//This also avoid null pointer exception if the model is not loaded via the AssetManager.
emitter = (ParticleEmitter) in.readSavable("emitter", null);
emitter.setParticlesPerSec(0);
diff --git a/jme3-core/src/main/java/com/jme3/animation/Track.java b/jme3-core/src/main/java/com/jme3/animation/Track.java
index 4eafed06a..4a6dcdef9 100644
--- a/jme3-core/src/main/java/com/jme3/animation/Track.java
+++ b/jme3-core/src/main/java/com/jme3/animation/Track.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009-2012 jMonkeyEngine
+ * Copyright (c) 2009-2018 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -44,9 +44,9 @@ public interface Track extends Savable, Cloneable {
* given parameters.
*
* @param time The time in the animation
- * @param weight The weight from 0 to 1 on how much to apply the track
- * @param control The control which the track should effect
- * @param channel The channel which the track should effect
+ * @param weight The weight from 0 to 1 on how much to apply the track
+ * @param control The control which the track should affect
+ * @param channel The channel which the track should affect
*/
public void setTime(float time, float weight, AnimControl control, AnimChannel channel, TempVars vars);
diff --git a/jme3-core/src/main/java/com/jme3/app/state/ScreenshotAppState.java b/jme3-core/src/main/java/com/jme3/app/state/ScreenshotAppState.java
index ea4d5cd73..6fa35c2d7 100644
--- a/jme3-core/src/main/java/com/jme3/app/state/ScreenshotAppState.java
+++ b/jme3-core/src/main/java/com/jme3/app/state/ScreenshotAppState.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009-2012 jMonkeyEngine
+ * Copyright (c) 2009-2018 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -80,10 +80,10 @@ public class ScreenshotAppState extends AbstractAppState implements ActionListen
/**
* This constructor allows you to specify the output file path of the screenshot.
- * Include the seperator at the end of the path.
- * Use an emptry string to use the application folder. Use NULL to use the system
+ * Include the separator at the end of the path.
+ * Use an empty string to use the application folder. Use NULL to use the system
* default storage folder.
- * @param filePath The screenshot file path to use. Include the seperator at the end of the path.
+ * @param filePath The screenshot file path to use. Include the separator at the end of the path.
*/
public ScreenshotAppState(String filePath) {
this.filePath = filePath;
@@ -91,11 +91,11 @@ public class ScreenshotAppState extends AbstractAppState implements ActionListen
/**
* This constructor allows you to specify the output file path of the screenshot.
- * Include the seperator at the end of the path.
- * Use an emptry string to use the application folder. Use NULL to use the system
+ * Include the separator at the end of the path.
+ * Use an empty string to use the application folder. Use NULL to use the system
* default storage folder.
- * @param filePath The screenshot file path to use. Include the seperator at the end of the path.
- * @param fileName The name of the file to save the screeshot as.
+ * @param filePath The screenshot file path to use. Include the separator at the end of the path.
+ * @param fileName The name of the file to save the screenshot as.
*/
public ScreenshotAppState(String filePath, String fileName) {
this.filePath = filePath;
@@ -105,10 +105,10 @@ public class ScreenshotAppState extends AbstractAppState implements ActionListen
/**
* This constructor allows you to specify the output file path of the screenshot and
* a base index for the shot index.
- * Include the seperator at the end of the path.
- * Use an emptry string to use the application folder. Use NULL to use the system
+ * Include the separator at the end of the path.
+ * Use an empty string to use the application folder. Use NULL to use the system
* default storage folder.
- * @param filePath The screenshot file path to use. Include the seperator at the end of the path.
+ * @param filePath The screenshot file path to use. Include the separator at the end of the path.
* @param shotIndex The base index for screen shots. The first screen shot will have
* shotIndex + 1 appended, the next shotIndex + 2, and so on.
*/
@@ -120,11 +120,11 @@ public class ScreenshotAppState extends AbstractAppState implements ActionListen
/**
* This constructor allows you to specify the output file path of the screenshot and
* a base index for the shot index.
- * Include the seperator at the end of the path.
- * Use an emptry string to use the application folder. Use NULL to use the system
+ * Include the separator at the end of the path.
+ * Use an empty string to use the application folder. Use NULL to use the system
* default storage folder.
- * @param filePath The screenshot file path to use. Include the seperator at the end of the path.
- * @param fileName The name of the file to save the screeshot as.
+ * @param filePath The screenshot file path to use. Include the separator at the end of the path.
+ * @param fileName The name of the file to save the screenshot as.
* @param shotIndex The base index for screen shots. The first screen shot will have
* shotIndex + 1 appended, the next shotIndex + 2, and so on.
*/
@@ -136,10 +136,10 @@ public class ScreenshotAppState extends AbstractAppState implements ActionListen
/**
* Set the file path to store the screenshot.
- * Include the seperator at the end of the path.
- * Use an emptry string to use the application folder. Use NULL to use the system
+ * Include the separator at the end of the path.
+ * Use an empty string to use the application folder. Use NULL to use the system
* default storage folder.
- * @param filePath File path to use to store the screenshot. Include the seperator at the end of the path.
+ * @param filePath File path to use to store the screenshot. Include the separator at the end of the path.
*/
public void setFilePath(String filePath) {
this.filePath = filePath;
diff --git a/jme3-core/src/main/java/com/jme3/audio/AudioNode.java b/jme3-core/src/main/java/com/jme3/audio/AudioNode.java
index 9d477e628..579520f4e 100644
--- a/jme3-core/src/main/java/com/jme3/audio/AudioNode.java
+++ b/jme3-core/src/main/java/com/jme3/audio/AudioNode.java
@@ -278,8 +278,8 @@ public class AudioNode extends Node implements AudioSource {
* the dry filter will only influence the "dry" portion of the audio,
* e.g. not the reverberated parts of the AudioNode playing.
*
- * See the relevent documentation for the {@link Filter} to determine
- * the effect.
+ * See the relevant documentation for the {@link Filter} to determine the
+ * effect.
*
* @param dryFilter The filter to set, or null to disable dry filter.
*/
diff --git a/jme3-core/src/main/java/com/jme3/environment/util/LightsDebugState.java b/jme3-core/src/main/java/com/jme3/environment/util/LightsDebugState.java
index 17ccc99f3..3d41148c4 100644
--- a/jme3-core/src/main/java/com/jme3/environment/util/LightsDebugState.java
+++ b/jme3-core/src/main/java/com/jme3/environment/util/LightsDebugState.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009-2015 jMonkeyEngine
+ * Copyright (c) 2009-2018 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -114,7 +114,7 @@ public class LightsDebugState extends BaseAppState {
}
/**
- * Set the scenes for wich to render light gizmos.
+ * Set the scenes for which to render light gizmos.
* @param scene
*/
public void setScene(Spatial scene) {
diff --git a/jme3-core/src/main/java/com/jme3/input/InputManager.java b/jme3-core/src/main/java/com/jme3/input/InputManager.java
index d634b464a..63d90078f 100644
--- a/jme3-core/src/main/java/com/jme3/input/InputManager.java
+++ b/jme3-core/src/main/java/com/jme3/input/InputManager.java
@@ -432,7 +432,7 @@ public class InputManager implements RawInputListener {
* If events aren't allowed, the event may be a "first mouse event"
* triggered by the constructor setting the mouse listener.
* In that case, use the event to initialize the cursor position,
- * but don't queue it for futher processing.
+ * but don't queue it for further processing.
* This is part of the fix for issue #792.
*/
cursorPos.set(evt.getX(), evt.getY());
@@ -874,7 +874,7 @@ public class InputManager implements RawInputListener {
// larynx, 2011.06.10 - flag event as reusable because
// the android input uses a non-allocating ringbuffer which
// needs to know when the event is not anymore in inputQueue
- // and therefor can be reused.
+ // and therefore can be reused.
event.setConsumed();
}
diff --git a/jme3-core/src/main/java/com/jme3/light/LightProbeBlendingStrategy.java b/jme3-core/src/main/java/com/jme3/light/LightProbeBlendingStrategy.java
index a3a6ac516..824c94bb1 100644
--- a/jme3-core/src/main/java/com/jme3/light/LightProbeBlendingStrategy.java
+++ b/jme3-core/src/main/java/com/jme3/light/LightProbeBlendingStrategy.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009-2015 jMonkeyEngine
+ * Copyright (c) 2009-2018 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -48,7 +48,7 @@ public interface LightProbeBlendingStrategy {
public void registerProbe(LightProbe probe);
/**
* Populates the resulting light probes into the given light list.
- * @param g the geometry for wich the light list is computed
+ * @param g the geometry for which the light list is computed
* @param lightList the result light list
*/
public void populateProbes(Geometry g, LightList lightList);
diff --git a/jme3-core/src/main/java/com/jme3/renderer/RenderManager.java b/jme3-core/src/main/java/com/jme3/renderer/RenderManager.java
index 950f1a4a6..238445b6c 100644
--- a/jme3-core/src/main/java/com/jme3/renderer/RenderManager.java
+++ b/jme3-core/src/main/java/com/jme3/renderer/RenderManager.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009-2012 jMonkeyEngine
+ * Copyright (c) 2009-2018 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -726,7 +726,7 @@ public class RenderManager {
// Saving cam state for culling
int camState = vp.getCamera().getPlaneState();
for (int i = 0; i < children.size(); i++) {
- // Restoring cam state before proceeding children recusively
+ // Restoring cam state before proceeding children recursively
vp.getCamera().setPlaneState(camState);
renderSubScene(children.get(i), vp);
}
diff --git a/jme3-core/src/main/java/com/jme3/shader/Shader.java b/jme3-core/src/main/java/com/jme3/shader/Shader.java
index 887edea8a..72ecbca17 100644
--- a/jme3-core/src/main/java/com/jme3/shader/Shader.java
+++ b/jme3-core/src/main/java/com/jme3/shader/Shader.java
@@ -361,7 +361,7 @@ public final class Shader extends NativeObject {
*/
public void resetLocations() {
if (uniforms != null) {
- // NOTE: Shader sources will be reset seperately from the shader itself.
+ // NOTE: Shader sources will be reset separately from the shader itself.
for (Uniform uniform : uniforms.values()) {
uniform.reset(); // fixes issue with re-initialization
}
diff --git a/jme3-core/src/main/java/com/jme3/shadow/ShadowUtil.java b/jme3-core/src/main/java/com/jme3/shadow/ShadowUtil.java
index 064182390..653d04488 100644
--- a/jme3-core/src/main/java/com/jme3/shadow/ShadowUtil.java
+++ b/jme3-core/src/main/java/com/jme3/shadow/ShadowUtil.java
@@ -387,7 +387,7 @@ public class ShadowUtil {
BoundingBox occBB = (BoundingBox) occBox;
//Kirill 01/10/2011
// Extend the occluder further into the frustum
- // This fixes shadow dissapearing issues when
+ // This fixes shadow disappearing issues when
// the caster itself is not in the view camera
// but its shadow is in the camera
// The number is in world units
@@ -430,7 +430,7 @@ public class ShadowUtil {
BoundingBox occBB = (BoundingBox) occBox;
//Kirill 01/10/2011
// Extend the occluder further into the frustum
- // This fixes shadow dissapearing issues when
+ // This fixes shadow disappearing issues when
// the caster itself is not in the view camera
// but its shadow is in the camera
// The number is in world units
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 628b2451d..d4546b7e3 100644
--- a/jme3-core/src/main/java/com/jme3/util/BufferUtils.java
+++ b/jme3-core/src/main/java/com/jme3/util/BufferUtils.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009-2012 jMonkeyEngine
+ * Copyright (c) 2009-2018 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -291,7 +291,7 @@ public final class BufferUtils {
* @param buf
* the buffer to insert into
* @param index
- * the postion to place the data; in terms of colors not floats
+ * the position to place the data; in terms of colors not floats
*/
public static void setInBuffer(ColorRGBA color, FloatBuffer buf, int index) {
buf.position(index * 4);
@@ -349,7 +349,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(Vector3f vector, FloatBuffer buf, int index) {
if (buf == null) {
@@ -1027,7 +1027,7 @@ public final class BufferUtils {
/**
* Creates a new ByteBuffer with the same contents as the given ByteBuffer.
- * The new ByteBuffer is seperate from the old one and changes are not
+ * The new ByteBuffer 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 b88235f37..cede1ff8a 100644
--- a/jme3-core/src/main/java/com/jme3/util/ListSort.java
+++ b/jme3-core/src/main/java/com/jme3/util/ListSort.java
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009-2012 jMonkeyEngine
+ * Copyright (c) 2009-2018 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -46,7 +46,7 @@ import java.util.Comparator;
* difference that the temporary necessary memory space are allocated as the
* geometry list grows and reused all along the application execution.
*
- * Usage : ListSort has to be instanciated and kept with the geometry list ( or
+ * Usage : ListSort has to be instantiated and kept with the geometry list ( or
* w/e it may have to sort) Then the allocate method has to be called to
* allocate necessary tmp space needed for the sort. This should be called once
* for optimal performance, but can be called several times if the length of the
@@ -91,7 +91,7 @@ public class ListSort
Similar to Java serialization, the handling of specific object @@ -71,7 +71,7 @@ import java.util.concurrent.ConcurrentHashMap; * (For example, adding the IdentityCloneFunction for Mesh.class would cause * all mesh instances to be shared with the original object graph.)
* - *By default, the Cloner registers serveral default clone functions + *
By default, the Cloner registers several default clone functions * as follows:
*The abililty to selectively use clone functions is useful when + *
The ability to selectively use clone functions is useful when * being called from a clone function.
* * Note: objects returned by this method may not have yet had their cloneField() diff --git a/jme3-core/src/plugins/java/com/jme3/export/binary/BinaryExporter.java b/jme3-core/src/plugins/java/com/jme3/export/binary/BinaryExporter.java index eb12bf908..3ad1b8b22 100644 --- a/jme3-core/src/plugins/java/com/jme3/export/binary/BinaryExporter.java +++ b/jme3-core/src/plugins/java/com/jme3/export/binary/BinaryExporter.java @@ -1,5 +1,5 @@ /* - * Copyright (c) 2009-2012 jMonkeyEngine + * Copyright (c) 2009-2018 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -255,7 +255,7 @@ public class BinaryExporter implements JmeExporter { } ByteArrayOutputStream out = new ByteArrayOutputStream(); - // write out data to a seperate stream + // write out data to a separate stream int location = 0; // keep track of location for each piece HashMap