Преглед изворни кода

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

Stephen Gold пре 4 година
родитељ
комит
1a42b212b9

+ 1 - 1
jme3-core/src/main/java/com/jme3/environment/LightProbeFactory.java

@@ -214,7 +214,7 @@ public class LightProbeFactory {
     }
 
     /**
-     * For debuging purposes only.
+     * For debugging purposes only.
      * Will return a Node meant to be added to a GUI presenting the 2 cube maps in a cross pattern with all the mip maps.
      *
      * @param manager the asset manager

+ 3 - 3
jme3-core/src/main/java/com/jme3/environment/util/BoundingSphereDebug.java

@@ -1,5 +1,5 @@
  /*
- * Copyright (c) 2009-2015 jMonkeyEngine
+ * Copyright (c) 2009-2021 jMonkeyEngine
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -44,7 +44,7 @@ import java.nio.ShortBuffer;
 
 /**
  * 
- * A debuging shape for a BoundingSphere 
+ * A debugging shape for a BoundingSphere 
  * Consists of 3 axis aligned circles.
  * 
  * @author nehon
@@ -158,7 +158,7 @@ public class BoundingSphereDebug extends Mesh {
 
     
     /**
-     * Convenience factory method that creates a debuging bounding sphere geometry
+     * Convenience factory method that creates a debug bounding-sphere geometry
      * @param assetManager the assetManager
      * @return the bounding sphere debug geometry.
      */

+ 2 - 2
jme3-core/src/main/java/com/jme3/post/Filter.java

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009-2020 jMonkeyEngine
+ * Copyright (c) 2009-2021 jMonkeyEngine
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -463,7 +463,7 @@ public abstract class Filter implements Savable {
     }
 
     /**
-     * sets a reference to the FilterPostProcessor ti which this filter is attached
+     * sets a reference to the FilterPostProcessor to which this filter is attached
      * @param proc
      */
     protected void setProcessor(FilterPostProcessor proc) {

+ 1 - 1
jme3-core/src/main/java/com/jme3/shadow/AbstractShadowRenderer.java

@@ -179,7 +179,7 @@ public abstract class AbstractShadowRenderer implements SceneProcessor, Savable,
 
             postshadowMat.setTexture(shadowMapStringCache[i], shadowMaps[i]);
 
-            //quads for debuging purpose
+            //quads for debugging purposes
             dispPic[i] = new Picture("Picture" + i);
             dispPic[i].setTexture(assetManager, shadowMaps[i], false);
         }

+ 1 - 1
jme3-core/src/main/java/com/jme3/shadow/BasicShadowRenderer.java

@@ -126,7 +126,7 @@ public class BasicShadowRenderer implements SceneProcessor {
     }
 
     /**
-     * sets the light direction to use to computs shadows
+     * sets the light direction to use to compute shadows
      * @param direction 
      */
     public void setDirection(Vector3f direction) {

+ 1 - 1
jme3-core/src/main/java/com/jme3/shadow/PssmShadowRenderer.java

@@ -236,7 +236,7 @@ public class PssmShadowRenderer implements SceneProcessor {
 
             postshadowMat.setTexture("ShadowMap" + i, shadowMaps[i]);
 
-            //quads for debuging purpose
+            //quads for debugging purposes
             dispPic[i] = new Picture("Picture" + i);
             dispPic[i].setTexture(manager, shadowMaps[i], false);
         }

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

@@ -178,7 +178,7 @@ public abstract class AbstractShadowRendererVR implements SceneProcessor, Savabl
 
             postshadowMat.setTexture(shadowMapStringCache[i], shadowMaps[i]);
 
-            //quads for debuging purpose
+            //quads for debugging purposes
             dispPic[i] = new Picture("Picture" + i);
             dispPic[i].setTexture(assetManager, shadowMaps[i], false);
         }