فهرست منبع

ColorRGBA: rename floats -> store

Wyatt Gillette 2 ماه پیش
والد
کامیت
8dcf8d6c2e
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      jme3-core/src/main/java/com/jme3/math/ColorRGBA.java

+ 3 - 3
jme3-core/src/main/java/com/jme3/math/ColorRGBA.java

@@ -534,12 +534,12 @@ public final class ColorRGBA implements Savable, Cloneable, java.io.Serializable
     /**
     /**
      * Saves this <code>ColorRGBA</code> into the given <code>float</code> array.
      * Saves this <code>ColorRGBA</code> into the given <code>float</code> array.
      *
      *
-     * @param floats The <code>float</code> array to take this <code>ColorRGBA</code>.
+     * @param store The <code>float</code> array to take this <code>ColorRGBA</code>.
      * If null, a new <code>float[4]</code> is created.
      * If null, a new <code>float[4]</code> is created.
      * @return The array, with r,g,b,a float values in that order.
      * @return The array, with r,g,b,a float values in that order.
      */
      */
-    public float[] toArray(float[] floats) {
-        return getColorArray(floats);
+    public float[] toArray(float[] store) {
+        return getColorArray(store);
     }
     }
 
 
     /**
     /**