Просмотр исходного кода

correct grammar/typographical errors in comments

Stephen Gold 4 лет назад
Родитель
Сommit
c9c3a59d3f

+ 1 - 1
jme3-core/src/main/java/com/jme3/post/FilterPostProcessor.java

@@ -358,7 +358,7 @@ public class FilterPostProcessor implements SceneProcessor, Savable {
 
         } else {
            setupViewPortFrameBuffer();
-           //if we are ina multiview situation we need to resize the camera 
+           //if we are in a multiview situation we need to resize the camera 
            //to the viewportsize so that the backbuffer is rendered correctly
            if (multiView) {
                 viewPort.getCamera().resize(width, height, false);

+ 1 - 1
jme3-core/src/main/resources/joystick-mapping.properties

@@ -249,7 +249,7 @@ DragonRise\ Inc.\ \ \ Generic\ \ \ USB\ \ Joystick.rx=z
 DragonRise\ Inc.\ \ \ Generic\ \ \ USB\ \ Joystick.rz=rz
 
 # from : Two dots controller as "GASIA CORP. PLAYSTATION(R)3 Controller"
-# most of the button have a analog axis
+# most of the button have an analog axis
 # two controllers are detected at the same time instead of one
 # some button mappings are missing (triangle, circle, cross) on linux
 GASIA\ CORP.\ PLAYSTATION(R)3\ Controller.8=6

+ 1 - 1
jme3-networking/src/main/java/com/jme3/network/rmi/ObjectStore.java

@@ -328,7 +328,7 @@ public class ObjectStore {
 
     private void onConnection(HostedConnection conn) {
         if (localObjects.size() > 0){
-            // send a object definition message
+            // send an object definition message
             ObjectDef[] defs = new ObjectDef[localObjects.size()];
             int i = 0;
             for (Entry<LocalObject> entry : localObjects){

+ 1 - 1
jme3-plugins/src/gltf/java/com/jme3/scene/plugins/gltf/GltfLoader.java

@@ -936,7 +936,7 @@ public class GltfLoader implements AssetLoader {
         anim = customContentManager.readExtensionAndExtras("animations", animation, anim);
 
         if (skinIndex != -1) {
-            //we have a armature animation.
+            //we have an armature animation.
             SkinData skin = fetchFromCache("skins", skinIndex, SkinData.class);
             skin.animComposer.addAnimClip(anim);
         }

+ 1 - 1
jme3-terrain/src/main/java/com/jme3/terrain/heightmap/FaultHeightMap.java

@@ -52,7 +52,7 @@ public class FaultHeightMap extends AbstractHeightMap {
     public static final int FAULTTYPE_STEP = 0;
     /**
      * Values on one side are lowered, then increase lineary while crossing
-     * the fault line to the other side. The fault line will be a inclined
+     * the fault line to the other side. The fault line will be an inclined
      * plane
      */
     public static final int FAULTTYPE_LINEAR = 1;

+ 1 - 1
jme3-vr/src/main/java/com/jme3/shadow/DirectionalLightShadowFilterVR.java

@@ -45,7 +45,7 @@ import java.io.IOException;
  * This Filter does basically the same as a DirectionalLightShadowRenderer
  * except it renders the post shadow pass as a fullscreen quad pass instead of a
  * geometry pass. It's mostly faster than PssmShadowRenderer as long as you have
- * more than a about ten shadow receiving objects. The expense is the draw back
+ * more than about ten shadow receiving objects. The expense is the drawback
  * that the shadow Receive mode set on spatial is ignored. So basically all and
  * only objects that render depth in the scene receive shadows. See this post
  * for more details

+ 1 - 1
jme3-vr/src/main/java/com/jme3/shadow/VRDirectionalLightShadowRenderer.java

@@ -48,7 +48,7 @@ import com.jme3.shadow.DirectionalLightShadowRenderer;
 public class VRDirectionalLightShadowRenderer extends DirectionalLightShadowRenderer {
 
     /**
-     * Create a OculusDirectionalLightShadowRenderer More info on the technique at <a
+     * Create an OculusDirectionalLightShadowRenderer More info on the technique at <a
      * href="http://http.developer.nvidia.com/GPUGems3/gpugems3_ch10.html">http://http.developer.nvidia.com/GPUGems3/gpugems3_ch10.html</a>
      *
      * @param assetManager the application asset manager

+ 1 - 1
jme3-vr/src/main/java/com/jme3/util/VRGUIPositioningMode.java

@@ -1,7 +1,7 @@
 package com.jme3.util;
 
 /**
- * A enumeration that describes the GUI display positioning modes.
+ * An enumeration that describes the GUI display positioning modes.
  * @author Julien Seinturier - COMEX SA - <a href="http://www.seinturier.fr">http://www.seinturier.fr</a>
  *
  */