diff options
author | Harvey Harrison <[email protected]> | 2013-01-27 08:58:08 -0800 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2013-01-27 08:58:08 -0800 |
commit | fbf0bac70062efee4a1fe775c3b11fb908cac2dd (patch) | |
tree | ef76316d62dfc569a7725bccaeb4ad9498675501 /src/classes/share | |
parent | 7f2b5daace39637b7f04623475b126fa07fec598 (diff) |
j3dcore: push list annotation through some of RenderBin's internal functions
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/classes/share')
-rw-r--r-- | src/classes/share/javax/media/j3d/RenderBin.java | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/classes/share/javax/media/j3d/RenderBin.java b/src/classes/share/javax/media/j3d/RenderBin.java index 3181edd..43135b9 100644 --- a/src/classes/share/javax/media/j3d/RenderBin.java +++ b/src/classes/share/javax/media/j3d/RenderBin.java @@ -5285,7 +5285,7 @@ void renderOrderedBins(Canvas3D cv, ArrayList<OrderedBin> bins, boolean doInfini } - void reEvaluateFog(ArrayList fogs, boolean updateDirty, + void reEvaluateFog(ArrayList<FogRetained> fogs, boolean updateDirty, boolean altAppDirty) { EnvironmentSet e; FogRetained newfog; @@ -5359,7 +5359,7 @@ void renderOrderedBins(Canvas3D cv, ArrayList<OrderedBin> bins, boolean doInfini } - void updateCanvasForDirtyFog(ArrayList fogs) { +void updateCanvasForDirtyFog(ArrayList<FogRetained> fogs) { int i, j; EnvironmentSet e; UnorderList list; @@ -5368,7 +5368,7 @@ void renderOrderedBins(Canvas3D cv, ArrayList<OrderedBin> bins, boolean doInfini int sz = fogs.size(); for (i = 0; i < sz; i++) { - FogRetained fog = (FogRetained)fogs.get(i); + FogRetained fog = fogs.get(i); list = fog.environmentSets; synchronized (list) { envsize = list.size(); @@ -5385,7 +5385,7 @@ void renderOrderedBins(Canvas3D cv, ArrayList<OrderedBin> bins, boolean doInfini } } - void reEvaluateModelClip(ArrayList modelClips, + void reEvaluateModelClip(ArrayList<ModelClipRetained> modelClips, boolean updateDirty, boolean altAppDirty) { EnvironmentSet e; @@ -5462,7 +5462,7 @@ void renderOrderedBins(Canvas3D cv, ArrayList<OrderedBin> bins, boolean doInfini } - void updateCanvasForDirtyModelClip(ArrayList modelClips) { + void updateCanvasForDirtyModelClip(ArrayList<ModelClipRetained> modelClips) { int i, j; EnvironmentSet e; int enableMCMaskCache = 0; @@ -5472,7 +5472,7 @@ void renderOrderedBins(Canvas3D cv, ArrayList<OrderedBin> bins, boolean doInfini int envsize; for (i = 0; i < sz; i++) { - ModelClipRetained modelClip = (ModelClipRetained)modelClips.get(i); + ModelClipRetained modelClip = modelClips.get(i); // evaluate the modelClip enable mask enableMCMaskCache = 0; @@ -5566,7 +5566,7 @@ void renderOrderedBins(Canvas3D cv, ArrayList<OrderedBin> bins, boolean doInfini } - void updateCanvasForDirtyLights(ArrayList mLts) { + void updateCanvasForDirtyLights(ArrayList<LightRetained> mLts) { int n, i, j, lmask; EnvironmentSet e; UnorderList list; @@ -5576,7 +5576,7 @@ void renderOrderedBins(Canvas3D cv, ArrayList<OrderedBin> bins, boolean doInfini int ltsize; for (n = 0; n < sz; n++) { - LightRetained lt = (LightRetained)mLts.get(n); + LightRetained lt = mLts.get(n); list = lt.environmentSets; synchronized (list) { envsets = (EnvironmentSet []) list.toArray(false); @@ -5633,10 +5633,9 @@ void renderOrderedBins(Canvas3D cv, ArrayList<OrderedBin> bins, boolean doInfini } - void reEvaluateEnv(ArrayList mLts, ArrayList fogs, - ArrayList modelClips, - boolean updateDirty, - boolean altAppDirty) { +void reEvaluateEnv(ArrayList<LightRetained> mLts, ArrayList<FogRetained> fogs, + ArrayList<ModelClipRetained> modelClips, + boolean updateDirty, boolean altAppDirty) { reEvaluateAllRenderAtoms(altAppDirty); |