diff options
author | Harvey Harrison <[email protected]> | 2013-06-15 10:44:54 -0700 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2013-06-15 10:44:54 -0700 |
commit | abe0c86dbd7ca6a7bd264a2371f504a9ace59cd0 (patch) | |
tree | fa55d6b2b9c541926aeffa191b7304438e585ba7 /src | |
parent | 333054091dcc2f721d4934c675128892dee7e264 (diff) |
j3dcore: trivial generic annotation in RenderBin
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/classes/share/javax/media/j3d/RenderBin.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/classes/share/javax/media/j3d/RenderBin.java b/src/classes/share/javax/media/j3d/RenderBin.java index 4f2f68a..b09ec69 100644 --- a/src/classes/share/javax/media/j3d/RenderBin.java +++ b/src/classes/share/javax/media/j3d/RenderBin.java @@ -367,8 +367,8 @@ ArrayList<RenderAtomListInfo> dirtyList = new ArrayList<RenderAtomListInfo>(5); int cachedTranspSortMode = View.TRANSPARENCY_SORT_NONE; - // Temporary dirtylist - private LinkedHashSet dirtyDepthSortRenderAtom = new LinkedHashSet(); +// Temporary dirtylist +private LinkedHashSet<RenderAtom> dirtyDepthSortRenderAtom = new LinkedHashSet<RenderAtom>(); private int numDirtyTinfo = 0; // Eye position in vworld @@ -861,9 +861,9 @@ ArrayList<RenderAtomListInfo> dirtyList = new ArrayList<RenderAtomListInfo>(5); if (size > 0) { TransparentRenderingInfo dirtyList = null; - Iterator dirtyDepthSortIterator = dirtyDepthSortRenderAtom.iterator(); + Iterator<RenderAtom> dirtyDepthSortIterator = dirtyDepthSortRenderAtom.iterator(); while (dirtyDepthSortIterator.hasNext()) { - RenderAtom renderAtom = (RenderAtom)dirtyDepthSortIterator.next(); + RenderAtom renderAtom = dirtyDepthSortIterator.next(); if (!renderAtom.inRenderBin()) continue; renderAtom.dirtyMask &= ~RenderAtom.IN_SORTED_POS_DIRTY_TRANSP_LIST; |