Browse Source

ColorRGBA: rename floats -> store

Wyatt Gillette 2 tháng trước cách đây
mục cha
commit
8dcf8d6c2e
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  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.
      *
-     * @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.
      * @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);
     }
 
     /**