diff options
author | Harvey Harrison <[email protected]> | 2013-01-27 13:48:13 -0800 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2013-01-27 13:48:13 -0800 |
commit | fe8f7e9b5d87d449515c35dbcbe5c284ec277205 (patch) | |
tree | 75ab4add1b8be3ea9ec1f42442ad6710c4d13e2a /src | |
parent | 4eba3daeeed92726954784394f0b298450a3cd0b (diff) |
j3dcore: annotate textureBinList in RenderBin
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/classes/share/javax/media/j3d/RenderBin.java | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/classes/share/javax/media/j3d/RenderBin.java b/src/classes/share/javax/media/j3d/RenderBin.java index 49ee981..f134e0d 100644 --- a/src/classes/share/javax/media/j3d/RenderBin.java +++ b/src/classes/share/javax/media/j3d/RenderBin.java @@ -305,7 +305,7 @@ ArrayList<OrderedBin> bgOrderedBins = new ArrayList<OrderedBin>(5); ArrayList removeNodeComponentList = new ArrayList(5); ArrayList dirtyNodeComponentList = new ArrayList(5); - ArrayList textureBinList = new ArrayList(5); +ArrayList<TextureBin> textureBinList = new ArrayList<TextureBin>(5); /** * arraylist of refernce geometry that should be locked when transparency @@ -647,7 +647,7 @@ ArrayList<RenderAtomListInfo> removeDlistPerRinfo = new ArrayList<RenderAtomList for (int m = 0; m <size; m++) { k = 0; - TextureBin tb = (TextureBin) textureBinList.get(m); + TextureBin tb = textureBinList.get(m); tb.tbFlag |= TextureBin.ON_RENDER_BIN_LIST; if (tb.texUnitState == null) @@ -3140,14 +3140,13 @@ System.err.println("......tb.soleUser= " + } - void addTextureBin(TextureBin tb) { +void addTextureBin(TextureBin tb) { textureBinList.add(tb); - } - +} - void removeTextureBin(TextureBin tb) { +void removeTextureBin(TextureBin tb) { textureBinList.remove(tb); - } +} void addDirtyRenderMolecule(RenderMolecule rm) { |