Ryan McDonough пре 3 дана
родитељ
комит
55407267fd
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      jme3-effects/src/main/java/com/jme3/vectoreffect/VectorGroup.java

+ 3 - 2
jme3-effects/src/main/java/com/jme3/vectoreffect/VectorGroup.java

@@ -66,7 +66,7 @@ public class VectorGroup {
     
     
     
     
    //regardless of type, all vectors in a VectorGroup are converted to and from Vector4f when being operated on internally by a VectorEffect.     
    //regardless of type, all vectors in a VectorGroup are converted to and from Vector4f when being operated on internally by a VectorEffect.     
-    protected Vector4f getAsVector4(int index) {
+    public Vector4f getAsVector4(int index) {
         Object vectorObj = vectorList.get(index);
         Object vectorObj = vectorList.get(index);
         if (vectorObj instanceof Vector4f) {
         if (vectorObj instanceof Vector4f) {
             Vector4f vec4 = (Vector4f) vectorObj;
             Vector4f vec4 = (Vector4f) vectorObj;
@@ -89,7 +89,7 @@ public class VectorGroup {
         }
         }
     }
     }
 
 
-    protected void updateVectorObject(Vector4f newVal, int index) {
+    public void updateVectorObject(Vector4f newVal, int index) {
         Object store = vectorList.get(index);
         Object store = vectorList.get(index);
         if (store instanceof Vector4f) {
         if (store instanceof Vector4f) {
             ((Vector4f)store).set(newVal);  // set vec4
             ((Vector4f)store).set(newVal);  // set vec4
@@ -136,3 +136,4 @@ public class VectorGroup {
         return newCopy;
         return newCopy;
     }       
     }       
 }
 }
+