diff options
3 files changed, 8 insertions, 8 deletions
diff --git a/src/classes/share/javax/media/j3d/RenderingEnvironmentStructure.java b/src/classes/share/javax/media/j3d/RenderingEnvironmentStructure.java index 1b02abb..a3a375d 100644 --- a/src/classes/share/javax/media/j3d/RenderingEnvironmentStructure.java +++ b/src/classes/share/javax/media/j3d/RenderingEnvironmentStructure.java @@ -148,7 +148,7 @@ Object[] getObjectArray() { int size = objFreeList.size(); if (size == 0) return new Object[5]; - + return objFreeList.remove(size - 1); } @@ -482,7 +482,7 @@ public void updateObject() { list.add(ct); } } else if (n instanceof ModelClipRetained) { - ModelClipRetained mt = (ModelClipRetained)n; + ModelClipRetained mt = (ModelClipRetained)n; mt.isViewScoped = true; numberOfModelClips++; vlsize = vl.size(); @@ -650,7 +650,7 @@ public void updateObject() { } } } else if (n instanceof ModelClipRetained) { - ModelClipRetained mt = (ModelClipRetained)n; + ModelClipRetained mt = (ModelClipRetained)n; mt.isViewScoped = false; numberOfModelClips--; vlsize = vl.size(); @@ -765,7 +765,7 @@ private int processLights(ArrayList<LightRetained> globalLights, RenderAtom ra, return numLights; } - + FogRetained getInfluencingFog(RenderAtom ra, View view) { FogRetained fog = null; int j, nfogs; @@ -866,7 +866,7 @@ ModelClipRetained getInfluencingModelClip(RenderAtom ra, View view) { if (intersectedBounds.length < numberOfModelClips) intersectedBounds = new Bounds[numberOfModelClips]; - ArrayList<ModelClipRetained> globalModelClips = viewScopedModelClips.get(view); + ArrayList<ModelClipRetained> globalModelClips = viewScopedModelClips.get(view); if (globalModelClips != null) nModelClips = processModelClips(globalModelClips, ra, nModelClips); diff --git a/src/classes/share/javax/media/j3d/SetLiveState.java b/src/classes/share/javax/media/j3d/SetLiveState.java index 398105f..11b2cfa 100644 --- a/src/classes/share/javax/media/j3d/SetLiveState.java +++ b/src/classes/share/javax/media/j3d/SetLiveState.java @@ -120,7 +120,7 @@ ArrayList<OrderedPath> orderedPaths = null; /** * List of BranchGroup from this node to the root of tree This is used by * BranchGroupRetained to construct BranchGroup lists for picking. - * + * * @see NodeRetained.branchGroupPaths */ ArrayList<BranchGroupRetained[]> branchGroupPaths = null; diff --git a/src/classes/share/javax/media/j3d/VirtualUniverse.java b/src/classes/share/javax/media/j3d/VirtualUniverse.java index 7e88a7d..624bccb 100644 --- a/src/classes/share/javax/media/j3d/VirtualUniverse.java +++ b/src/classes/share/javax/media/j3d/VirtualUniverse.java @@ -76,7 +76,7 @@ public class VirtualUniverse extends Object { // A list of locales that are contained within this universe Vector<Locale> listOfLocales = new Vector<Locale>(); -// The list of view platforms, a changed flag and a cached array +// The list of view platforms, a changed flag and a cached array private ArrayList<ViewPlatformRetained> viewPlatforms = new ArrayList<ViewPlatformRetained>(); private boolean vpChanged = false; private ViewPlatformRetained[] viewPlatformList = new ViewPlatformRetained[0]; @@ -655,7 +655,7 @@ ViewPlatformRetained[] getViewPlatformList() { synchronized (viewPlatforms) { if (vpChanged) { viewPlatformList = viewPlatforms.toArray(new ViewPlatformRetained[viewPlatforms.size()]); - vpChanged = false; + vpChanged = false; } return viewPlatformList; |