From b577a49f89d3f36dc28af03e1d9864577db954c5 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Tue, 2 Jul 2013 21:31:33 -0700 Subject: j3dcore: annotate list of dirty transformgroups Signed-off-by: Harvey Harrison --- src/classes/share/javax/media/j3d/SharedGroupRetained.java | 2 +- src/classes/share/javax/media/j3d/TransformGroupRetained.java | 6 +++--- src/classes/share/javax/media/j3d/TransformStructure.java | 7 +++---- 3 files changed, 7 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/classes/share/javax/media/j3d/SharedGroupRetained.java b/src/classes/share/javax/media/j3d/SharedGroupRetained.java index 20f6925..81b6d08 100644 --- a/src/classes/share/javax/media/j3d/SharedGroupRetained.java +++ b/src/classes/share/javax/media/j3d/SharedGroupRetained.java @@ -527,7 +527,7 @@ Vector parents = new Vector(1); } void updateChildLocalToVworld(HashKey key, int index, - ArrayList dirtyTransformGroups, + ArrayList dirtyTransformGroups, ArrayList keySet, UpdateTargets targets, ArrayList blUsers) { diff --git a/src/classes/share/javax/media/j3d/TransformGroupRetained.java b/src/classes/share/javax/media/j3d/TransformGroupRetained.java index 980f00b..7709cac 100644 --- a/src/classes/share/javax/media/j3d/TransformGroupRetained.java +++ b/src/classes/share/javax/media/j3d/TransformGroupRetained.java @@ -830,7 +830,7 @@ class TransformGroupRetained extends GroupRetained implements TargetsInterface } - void processChildLocalToVworld(ArrayList dirtyTransformGroups, + void processChildLocalToVworld(ArrayList dirtyTransformGroups, ArrayList keySet, UpdateTargets targets, ArrayList blUsers) { @@ -863,7 +863,7 @@ class TransformGroupRetained extends GroupRetained implements TargetsInterface // for shared case void updateChildLocalToVworld(HashKey key, int index, - ArrayList dirtyTransformGroups, + ArrayList dirtyTransformGroups, ArrayList keySet, UpdateTargets targets, ArrayList blUsers) { @@ -943,7 +943,7 @@ class TransformGroupRetained extends GroupRetained implements TargetsInterface } // for non-shared case - void updateChildLocalToVworld(ArrayList dirtyTransformGroups, + void updateChildLocalToVworld(ArrayList dirtyTransformGroups, ArrayList keySet, UpdateTargets targets, ArrayList blUsers) { diff --git a/src/classes/share/javax/media/j3d/TransformStructure.java b/src/classes/share/javax/media/j3d/TransformStructure.java index 09c8909..8df7fa9 100644 --- a/src/classes/share/javax/media/j3d/TransformStructure.java +++ b/src/classes/share/javax/media/j3d/TransformStructure.java @@ -57,8 +57,8 @@ class TransformStructure extends J3dStructure implements ObjectUpdate { */ private ArrayList collisionObjectList = new ArrayList(); - // List of dirty TransformGroups - private ArrayList dirtyTransformGroups = new ArrayList(); +// List of dirty TransformGroups +private ArrayList dirtyTransformGroups = new ArrayList(); // Associated Keys with the dirtyNodeGroup private ArrayList keySet = new ArrayList(); @@ -372,7 +372,6 @@ class TransformStructure extends J3dStructure implements ObjectUpdate { void processLastLocalToVworld() { int i, j, k; - TransformGroupRetained tg; HashKey key; @@ -383,7 +382,7 @@ class TransformStructure extends J3dStructure implements ObjectUpdate { } for (i=0, k=0; i < dTGSize; i++) { - tg = (TransformGroupRetained)dirtyTransformGroups.get(i); + TransformGroupRetained tg = dirtyTransformGroups.get(i); // Check if the transformGroup is still alive // XXXX: This is a hack, should be fixed after EA -- cgit v1.2.3