diff options
author | Harvey Harrison <[email protected]> | 2013-02-23 17:11:21 -0800 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2013-02-23 17:11:21 -0800 |
commit | 2e40ddb2007077190b51658182f76220c653e388 (patch) | |
tree | bbad775193cbb0563c3cdabebe90c25ce50b658b /src | |
parent | 74a75322a51176756f54aa2fc18fa914b4e9da1b (diff) |
j3dcore: remove unused local variables and unneeded casts in FogRetained
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/classes/share/javax/media/j3d/FogRetained.java | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/src/classes/share/javax/media/j3d/FogRetained.java b/src/classes/share/javax/media/j3d/FogRetained.java index 036c4f6..6529463 100644 --- a/src/classes/share/javax/media/j3d/FogRetained.java +++ b/src/classes/share/javax/media/j3d/FogRetained.java @@ -467,10 +467,7 @@ Vector<GroupRetained> scopes = new Vector<GroupRetained>(); void updateImmediateMirrorObject(Object[] objs) { - GroupRetained group; - Vector currentScopes; - int i, nscopes; - Transform3D trans; + int i; int component = ((Integer)objs[1]).intValue(); if ((component & BOUNDS_CHANGED) != 0) { @@ -571,11 +568,6 @@ Vector<GroupRetained> scopes = new Vector<GroupRetained>(); * subclasses of fog to add themselves to the list of fogs */ void setLive(SetLiveState s) { - GroupRetained group; - Vector currentScopes; - int i, nscopes; - TransformGroupRetained[] tlist; - if (inImmCtx) { throw new IllegalSharingException(J3dI18N.getString("FogRetained0")); } @@ -678,16 +670,12 @@ Vector<GroupRetained> scopes = new Vector<GroupRetained>(); void clearMirrorObject(Object[] args) { Shape3DRetained shape; ArrayList shapeList = (ArrayList)args[2]; - ArrayList removeScopeList = new ArrayList(); for (int i = 0; i < shapeList.size(); i++) { shape = ((GeometryAtom)shapeList.get(i)).source; shape.removeFog(mirrorFog); } mirrorFog.isScoped = false; - - - } @@ -697,7 +685,7 @@ Vector<GroupRetained> scopes = new Vector<GroupRetained>(); * it removes itself to the list of fogs */ void clearLive(SetLiveState s) { - int i, j; + int i; GroupRetained group; super.clearLive(s); @@ -734,7 +722,7 @@ Vector<GroupRetained> scopes = new Vector<GroupRetained>(); createMessage.args[1]= new Integer(CLEAR_MIRROR); ArrayList removeScopeList = new ArrayList(); for (i = 0; i < scopes.size(); i++) { - group = (GroupRetained)scopes.get(i); + group = scopes.get(i); tempKey.reset(); group.removeAllNodesForScopedFog(mirrorFog, removeScopeList, tempKey); } |