From d48d2ddeaf465424b2b53c406dd3f10c746744b2 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Tue, 26 Jun 2012 22:22:54 -0700 Subject: j3dcore: annotate some structures in RenderingEnvironmentStructure with types Signed-off-by: Harvey Harrison --- .../media/j3d/RenderingEnvironmentStructure.java | 91 +++++++++++----------- 1 file changed, 44 insertions(+), 47 deletions(-) (limited to 'src/classes/share') diff --git a/src/classes/share/javax/media/j3d/RenderingEnvironmentStructure.java b/src/classes/share/javax/media/j3d/RenderingEnvironmentStructure.java index 122c33a..7b116ce 100644 --- a/src/classes/share/javax/media/j3d/RenderingEnvironmentStructure.java +++ b/src/classes/share/javax/media/j3d/RenderingEnvironmentStructure.java @@ -38,47 +38,47 @@ import javax.vecmath.Vector3d; */ class RenderingEnvironmentStructure extends J3dStructure implements ObjectUpdate { - /** - * The list of light nodes - */ - ArrayList nonViewScopedLights = new ArrayList(); - HashMap viewScopedLights = new HashMap(); - int numberOfLights = 0; +/** + * The list of light nodes + */ +ArrayList nonViewScopedLights = new ArrayList(); +HashMap> viewScopedLights = new HashMap>(); +int numberOfLights = 0; - /** - * The list of fog nodes - */ - ArrayList nonViewScopedFogs = new ArrayList(); - HashMap viewScopedFogs = new HashMap(); - int numberOfFogs = 0; +/** + * The list of fog nodes + */ +ArrayList nonViewScopedFogs = new ArrayList(); +HashMap> viewScopedFogs = new HashMap>(); +int numberOfFogs = 0; - /** - * The list of alternate app nodes - */ - ArrayList nonViewScopedAltAppearances = new ArrayList(); - HashMap viewScopedAltAppearances = new HashMap(); - int numberOfAltApps = 0; +/** + * The list of alternate app nodes + */ +ArrayList nonViewScopedAltAppearances = new ArrayList(); +HashMap> viewScopedAltAppearances = new HashMap>(); +int numberOfAltApps = 0; - /** - * The list of model clip nodes - */ - ArrayList nonViewScopedModelClips = new ArrayList(); - HashMap viewScopedModelClips = new HashMap(); - int numberOfModelClips = 0; +/** + * The list of model clip nodes + */ +ArrayList nonViewScopedModelClips = new ArrayList(); +HashMap> viewScopedModelClips = new HashMap>(); +int numberOfModelClips = 0; - /** - * The list of background nodes - */ - ArrayList nonViewScopedBackgrounds = new ArrayList(); - HashMap viewScopedBackgrounds = new HashMap(); - int numberOfBgs = 0; +/** + * The list of background nodes + */ +ArrayList nonViewScopedBackgrounds = new ArrayList(); +HashMap> viewScopedBackgrounds = new HashMap>(); +int numberOfBgs = 0; - /** - * The list of clip nodes - */ - ArrayList nonViewScopedClips = new ArrayList(); - HashMap viewScopedClips = new HashMap(); - int numberOfClips = 0; +/** + * The list of clip nodes + */ +ArrayList nonViewScopedClips = new ArrayList(); +HashMap> viewScopedClips = new HashMap>(); +int numberOfClips = 0; // For closest Background selection BackgroundRetained[] intersectedBacks = new BackgroundRetained[1]; @@ -368,15 +368,12 @@ class RenderingEnvironmentStructure extends J3dStructure implements ObjectUpdate int i; GeometryAtom ga; int num; - LightRetained lt; - FogRetained fg; - ModelClipRetained mc; ArrayList list; for (i=0; i