aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-02-23 17:04:32 -0800
committerHarvey Harrison <[email protected]>2013-02-23 17:04:32 -0800
commit3447173a4a434e04bf1957d996159fa3aa3bc213 (patch)
treed9c7334a0e77016c88aa0cd3bb4ac7ddf11a1849
parentd52a7330a69e296857481216e4d46d3dd97a5b59 (diff)
j3dcore: remove some unused local variables in LightRetained
Signed-off-by: Harvey Harrison <[email protected]>
-rw-r--r--src/classes/share/javax/media/j3d/LightRetained.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/classes/share/javax/media/j3d/LightRetained.java b/src/classes/share/javax/media/j3d/LightRetained.java
index 3a28e2a..0eda957 100644
--- a/src/classes/share/javax/media/j3d/LightRetained.java
+++ b/src/classes/share/javax/media/j3d/LightRetained.java
@@ -223,7 +223,6 @@ ArrayList<LightRetained> newlyAddedMirrorLights = new ArrayList<LightRetained>()
initScope(scope, index);
- J3dMessage createMessage = new J3dMessage();
scopeInfo[0] = addScopeList;
scopeInfo[1] = removeScopeList;
scopeInfo[2] = (scopes.size() > 0 ? Boolean.TRUE: Boolean.FALSE);
@@ -579,7 +578,6 @@ ArrayList<LightRetained> newlyAddedMirrorLights = new ArrayList<LightRetained>()
// get a message, this routine updates values in the mirror object
// that are not used by the renderer
void updateImmediateMirrorObject(Object[] objs) {
- Transform3D trans = null;
int component = ((Integer)objs[1]).intValue();
int numLgts = ((Integer)objs[2]).intValue();
LightRetained[] mLgts = (LightRetained[]) objs[3];
@@ -628,9 +626,7 @@ ArrayList<LightRetained> newlyAddedMirrorLights = new ArrayList<LightRetained>()
}
}
else if ((component & SCOPE_CHANGED) != 0) {
- int nscopes, j, i;
- GroupRetained group;
- Vector currentScopes;
+ int j, i;
Object[] scopeList = (Object[])objs[4];
ArrayList addList = (ArrayList)scopeList[0];
ArrayList removeList = (ArrayList)scopeList[1];
@@ -667,7 +663,6 @@ ArrayList<LightRetained> newlyAddedMirrorLights = new ArrayList<LightRetained>()
// updateLight() in RenderingEnvironmentStructure
void updateMirrorObject(Object[] objs) {
- Transform3D trans = null;
int component = ((Integer)objs[1]).intValue();
int numLgts = ((Integer)objs[2]).intValue();
LightRetained[] mLgts = (LightRetained[]) objs[3];
@@ -988,7 +983,6 @@ ArrayList<LightRetained> newlyAddedMirrorLights = new ArrayList<LightRetained>()
void clearMirrorObject(Object[] args) {
Shape3DRetained shape;
ArrayList shapeList = (ArrayList)args[2];
- ArrayList removeScopeList = new ArrayList();
LightRetained[] mLgts = (LightRetained[]) args[4];
int numLgts = ((Integer)args[3]).intValue();