소스 검색

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 년 전
부모
커밋
02a006d04e
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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
      * each pixel should be single-sampled, higher values indicate
      * a pixel should be multi-sampled.
      * a pixel should be multi-sampled.
      *
      *
      * @param value The number of samples
      * @param value The number of samples
-     * (Default: 1)
+     * (Default: 0)
      */
      */
     public void setSamples(int value) {
     public void setSamples(int value) {
         putInteger("Samples", value);
         putInteger("Samples", value);