Ver código fonte

correct more typographical errors in comments

Stephen Gold 7 anos atrás
pai
commit
5a1a5771ec

+ 2 - 2
jme3-core/src/main/java/com/jme3/util/LittleEndien.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
@@ -34,7 +34,7 @@ package com.jme3.util;
 import java.io.*;
 
 /**
- * <code>LittleEndien</code> is a class to read littleendien stored data
+ * <code>LittleEndien</code> is a class to read little-endian stored data
  * via a InputStream.  All functions work as defined in DataInput, but
  * assume they come from a LittleEndien input stream.  Currently used to read .ms3d and .3ds files.
  * @author Jack Lindamood

+ 2 - 2
jme3-effects/src/main/java/com/jme3/post/filters/CartoonEdgeFilter.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
@@ -165,7 +165,7 @@ public class CartoonEdgeFilter extends Filter {
 
     /**
      * sets the edge intensity<br>
-     * Defineshow visilble will be the outlined edges
+     * Defineshow visible will be the outlined edges
      * @param edgeIntensity 
      */
     public void setEdgeIntensity(float edgeIntensity) {

+ 2 - 2
jme3-effects/src/main/java/com/jme3/post/filters/ColorOverlayFilter.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
@@ -53,7 +53,7 @@ public class ColorOverlayFilter extends Filter {
     private ColorRGBA color = ColorRGBA.White;
 
     /**
-     * creates a colorOverlayFilter with a white coor (transparent)
+     * creates a colorOverlayFilter with a white color (transparent)
      */
     public ColorOverlayFilter() {
         super("Color Overlay");

+ 6 - 6
jme3-effects/src/main/java/com/jme3/post/filters/CrossHatchFilter.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
@@ -269,35 +269,35 @@ public class CrossHatchFilter extends Filter {
     }
 
     /**
-     * Returns treshold for lines 1
+     * Returns threshold for lines 1
      */
     public float getLuminance1() {
         return luminance1;
     }
 
     /**
-     * Returns treshold for lines 2
+     * Returns threshold for lines 2
      */
     public float getLuminance2() {
         return luminance2;
     }
 
     /**
-     * Returns treshold for lines 3
+     * Returns threshold for lines 3
      */
     public float getLuminance3() {
         return luminance3;
     }
 
     /**
-     * Returns treshold for lines 4
+     * Returns threshold for lines 4
      */
     public float getLuminance4() {
         return luminance4;
     }
 
     /**
-     * Returns treshold for blobs
+     * Returns threshold for blobs
      */
     public float getLuminance5() {
         return luminance5;

+ 2 - 2
jme3-effects/src/main/java/com/jme3/post/filters/DepthOfFieldFilter.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
@@ -136,7 +136,7 @@ public class DepthOfFieldFilter extends Filter {
     /**
      *  Sets the blur amount by scaling the convolution filter up or
      *  down.  A value of 1 (the default) performs a sparse 5x5 evenly
-     *  distribubted convolution at pixel level accuracy.  Higher values skip
+     *  distributed convolution at pixel level accuracy.  Higher values skip
      *  more pixels, and so on until you are no longer blurring the image
      *  but simply hashing it.
      *

+ 2 - 2
jme3-effects/src/main/java/com/jme3/post/filters/PosterizationFilter.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
@@ -115,7 +115,7 @@ public class PosterizationFilter extends Filter {
     }
 
     /**
-     * Sets urrent strength value, i.e. influence on final image
+     * Sets current strength value, i.e. influence on final image
      */
     public void setStrength(float strength) {
         this.strength = strength;

+ 2 - 2
jme3-effects/src/main/java/com/jme3/post/filters/RadialBlurFilter.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
@@ -63,7 +63,7 @@ public class RadialBlurFilter extends Filter {
     /**
      * Creates a RadialBlurFilter
      * @param sampleDist the distance between samples
-     * @param sampleStrength the strenght of each sample
+     * @param sampleStrength the strength of each sample
      */
     public RadialBlurFilter(float sampleDist, float sampleStrength) {
         this();