Browse Source

jme3-core: correct some grammar/spelling/typographic errors in comments

Stephen Gold 4 years ago
parent
commit
5bbf6dd790

+ 3 - 3
jme3-core/src/main/java/com/jme3/input/ChaseCamera.java

@@ -611,7 +611,7 @@ public class ChaseCamera implements ActionListener, AnalogListener, Control, Jme
     }
          
     /**
-     * Sets the spacial for the camera control, should only be used internally
+     * Sets the spatial for the camera control, should only be used internally
      * @param spatial
      */
     @Override
@@ -777,8 +777,8 @@ public class ChaseCamera implements ActionListener, AnalogListener, Control, Jme
     }
 
     /**
-     * Sets the trailing rotation inertia : default is 0.1. This prevent the camera to roughtly stop when the target stops moving
-     * before the camera reached the trail position.
+     * Sets the trailing rotation inertia : default is 0.1. This causes the camera to stop roughly when the target stops moving
+     * before the camera reaches the trail position.
      * Only has an effect if smoothMotion is set to true and trailing is enabled
      * @param trailingRotationInertia
      */

+ 1 - 1
jme3-core/src/main/java/com/jme3/input/InputManager.java

@@ -969,7 +969,7 @@ public class InputManager implements RawInputListener {
     /**
      * Add a listener that reports when a joystick has been added or removed.
      * Currently only implemented in LWJGL3
-     * @param listener the listner.
+     * @param listener the listener
      */
     public boolean addJoystickConnectionListener(JoystickConnectionListener listener) {
         return joystickConnectionListeners.add(listener);

+ 1 - 1
jme3-core/src/main/java/com/jme3/material/ShaderGenerationInfo.java

@@ -138,7 +138,7 @@ public class ShaderGenerationInfo implements Savable, Cloneable {
 
     /**
      * 
-     * @return the list on unused node names
+     * @return the list of unused node names
      */
     public List<String> getUnusedNodes() {
         return unusedNodes;

+ 2 - 2
jme3-core/src/main/java/com/jme3/util/mikktspace/MikkTSpaceContext.java

@@ -80,7 +80,7 @@ public interface MikkTSpaceContext {
      *
      * Note that the results are returned unindexed. It is possible to generate
      * a new index list But averaging/overwriting tangent spaces by using an
-     * already existing index list WILL produce INCRORRECT results. DO NOT! use
+     * already existing index list WILL produce INCORRECT results. DO NOT! use
      * an already existing index list.
      *
      * @param tangent
@@ -107,7 +107,7 @@ public interface MikkTSpaceContext {
      *
      * Note that the results are returned unindexed. It is possible to generate
      * a new index list. But averaging/overwriting tangent spaces by using an
-     * already existing index list WILL produce INCRORRECT results. DO NOT! use
+     * already existing index list WILL produce INCORRECT results. DO NOT! use
      * an already existing index list.
      *
      * @param tangent