Jelajahi Sumber

1977: Fix AppSettings samples javadoc (#2044)

* Indicate the default is 0
* Ammended to explain 0 or 1 is single sampled
* Might seem odd without it.
Andy Gibson 2 tahun lalu
induk
melakukan
02a006d04e
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      jme3-core/src/main/java/com/jme3/system/AppSettings.java

+ 2 - 2
jme3-core/src/main/java/com/jme3/system/AppSettings.java

@@ -875,12 +875,12 @@ public final class AppSettings extends HashMap<String, Object> {
     }
 
     /**
-     * Set the number of samples per pixel. A value of 1 indicates
+     * Set the number of samples per pixel. A value of 0 or 1 indicates
      * each pixel should be single-sampled, higher values indicate
      * a pixel should be multi-sampled.
      *
      * @param value The number of samples
-     * (Default: 1)
+     * (Default: 0)
      */
     public void setSamples(int value) {
         putInteger("Samples", value);