aboutsummaryrefslogtreecommitdiffstats
path: root/src/classes
diff options
context:
space:
mode:
Diffstat (limited to 'src/classes')
-rw-r--r--src/classes/share/javax/media/j3d/AlternateAppearanceRetained.java4
-rw-r--r--src/classes/share/javax/media/j3d/AmbientLightRetained.java4
-rw-r--r--src/classes/share/javax/media/j3d/BackgroundRetained.java4
-rw-r--r--src/classes/share/javax/media/j3d/BackgroundSoundRetained.java4
-rw-r--r--src/classes/share/javax/media/j3d/BehaviorRetained.java4
-rw-r--r--src/classes/share/javax/media/j3d/ClipRetained.java4
-rw-r--r--src/classes/share/javax/media/j3d/DirectionalLightRetained.java4
-rw-r--r--src/classes/share/javax/media/j3d/FogRetained.java4
-rw-r--r--src/classes/share/javax/media/j3d/LinkRetained.java4
-rw-r--r--src/classes/share/javax/media/j3d/MorphRetained.java4
-rw-r--r--src/classes/share/javax/media/j3d/NodeRetained.java4
-rw-r--r--src/classes/share/javax/media/j3d/PointLightRetained.java4
-rw-r--r--src/classes/share/javax/media/j3d/SoundscapeRetained.java4
-rw-r--r--src/classes/share/javax/media/j3d/ViewPlatformRetained.java4
14 files changed, 14 insertions, 42 deletions
diff --git a/src/classes/share/javax/media/j3d/AlternateAppearanceRetained.java b/src/classes/share/javax/media/j3d/AlternateAppearanceRetained.java
index 4e360a3..673ea0d 100644
--- a/src/classes/share/javax/media/j3d/AlternateAppearanceRetained.java
+++ b/src/classes/share/javax/media/j3d/AlternateAppearanceRetained.java
@@ -105,9 +105,7 @@ class AlternateAppearanceRetained extends LeafRetained {
AlternateAppearanceRetained() {
this.nodeType = NodeRetained.ALTERNATEAPPEARANCE;
- localBounds = new BoundingBox();
- ((BoundingBox)localBounds).setLower( 1.0, 1.0, 1.0);
- ((BoundingBox)localBounds).setUpper(-1.0,-1.0,-1.0);
+ localBounds = new BoundingBox((Bounds)null);
}
/**
diff --git a/src/classes/share/javax/media/j3d/AmbientLightRetained.java b/src/classes/share/javax/media/j3d/AmbientLightRetained.java
index 5a02b0b..052e73c 100644
--- a/src/classes/share/javax/media/j3d/AmbientLightRetained.java
+++ b/src/classes/share/javax/media/j3d/AmbientLightRetained.java
@@ -41,9 +41,7 @@ class AmbientLightRetained extends LightRetained {
AmbientLightRetained() {
this.nodeType = NodeRetained.AMBIENTLIGHT;
lightType = 1;
- localBounds = new BoundingBox();
- ((BoundingBox)localBounds).setLower( 1.0, 1.0, 1.0);
- ((BoundingBox)localBounds).setUpper(-1.0,-1.0,-1.0);
+ localBounds = new BoundingBox((Bounds)null);
}
void setLive(SetLiveState s) {
diff --git a/src/classes/share/javax/media/j3d/BackgroundRetained.java b/src/classes/share/javax/media/j3d/BackgroundRetained.java
index dc1bb14..abfda06 100644
--- a/src/classes/share/javax/media/j3d/BackgroundRetained.java
+++ b/src/classes/share/javax/media/j3d/BackgroundRetained.java
@@ -122,9 +122,7 @@ class BackgroundRetained extends LeafRetained {
BackgroundRetained () {
this.nodeType = NodeRetained.BACKGROUND;
- localBounds = new BoundingBox();
- ((BoundingBox)localBounds).setLower( 1.0, 1.0, 1.0);
- ((BoundingBox)localBounds).setUpper(-1.0,-1.0,-1.0);
+ localBounds = new BoundingBox((Bounds)null);
}
/**
diff --git a/src/classes/share/javax/media/j3d/BackgroundSoundRetained.java b/src/classes/share/javax/media/j3d/BackgroundSoundRetained.java
index 46b2fab..d3c98f7 100644
--- a/src/classes/share/javax/media/j3d/BackgroundSoundRetained.java
+++ b/src/classes/share/javax/media/j3d/BackgroundSoundRetained.java
@@ -40,8 +40,6 @@ class BackgroundSoundRetained extends SoundRetained {
BackgroundSoundRetained() {
this.nodeType = NodeRetained.BACKGROUNDSOUND;
- localBounds = new BoundingBox();
- ((BoundingBox)localBounds).setLower( 1.0, 1.0, 1.0);
- ((BoundingBox)localBounds).setUpper(-1.0,-1.0,-1.0);
+ localBounds = new BoundingBox((Bounds)null);
}
}
diff --git a/src/classes/share/javax/media/j3d/BehaviorRetained.java b/src/classes/share/javax/media/j3d/BehaviorRetained.java
index 03e8b0e..915d6c2 100644
--- a/src/classes/share/javax/media/j3d/BehaviorRetained.java
+++ b/src/classes/share/javax/media/j3d/BehaviorRetained.java
@@ -157,9 +157,7 @@ class BehaviorRetained extends LeafRetained {
BehaviorRetained() {
this.nodeType = NodeRetained.BEHAVIOR;
- localBounds = new BoundingBox();
- ((BoundingBox)localBounds).setLower( 1.0, 1.0, 1.0);
- ((BoundingBox)localBounds).setUpper(-1.0,-1.0,-1.0);
+ localBounds = new BoundingBox((Bounds)null);
targets[0] = this;
IndexedUnorderSet.init(this, TOTAL_INDEXED_UNORDER_SET_TYPES);
}
diff --git a/src/classes/share/javax/media/j3d/ClipRetained.java b/src/classes/share/javax/media/j3d/ClipRetained.java
index eb42369..1e98356 100644
--- a/src/classes/share/javax/media/j3d/ClipRetained.java
+++ b/src/classes/share/javax/media/j3d/ClipRetained.java
@@ -91,9 +91,7 @@ class ClipRetained extends LeafRetained {
*/
ClipRetained () {
this.nodeType = NodeRetained.CLIP;
- localBounds = new BoundingBox();
- ((BoundingBox)localBounds).setLower( 1.0, 1.0, 1.0);
- ((BoundingBox)localBounds).setUpper(-1.0,-1.0,-1.0);
+ localBounds = new BoundingBox((Bounds)null);
}
/**
diff --git a/src/classes/share/javax/media/j3d/DirectionalLightRetained.java b/src/classes/share/javax/media/j3d/DirectionalLightRetained.java
index 5833cf8..665a52d 100644
--- a/src/classes/share/javax/media/j3d/DirectionalLightRetained.java
+++ b/src/classes/share/javax/media/j3d/DirectionalLightRetained.java
@@ -50,9 +50,7 @@ class DirectionalLightRetained extends LightRetained
DirectionalLightRetained() {
this.nodeType = NodeRetained.DIRECTIONALLIGHT;
lightType = 2;
- localBounds = new BoundingBox();
- ((BoundingBox)localBounds).setLower( 1.0, 1.0, 1.0);
- ((BoundingBox)localBounds).setUpper(-1.0,-1.0,-1.0);
+ localBounds = new BoundingBox((Bounds)null);
}
/**
diff --git a/src/classes/share/javax/media/j3d/FogRetained.java b/src/classes/share/javax/media/j3d/FogRetained.java
index 147d370..6bc6b48 100644
--- a/src/classes/share/javax/media/j3d/FogRetained.java
+++ b/src/classes/share/javax/media/j3d/FogRetained.java
@@ -114,9 +114,7 @@ abstract class FogRetained extends LeafRetained{
private double localToVworldScale = 1.0;
FogRetained() {
- localBounds = new BoundingBox();
- ((BoundingBox)localBounds).setLower( 1.0, 1.0, 1.0);
- ((BoundingBox)localBounds).setUpper(-1.0,-1.0,-1.0);
+ localBounds = new BoundingBox((Bounds)null);
}
/**
diff --git a/src/classes/share/javax/media/j3d/LinkRetained.java b/src/classes/share/javax/media/j3d/LinkRetained.java
index aa6601d..d06813b 100644
--- a/src/classes/share/javax/media/j3d/LinkRetained.java
+++ b/src/classes/share/javax/media/j3d/LinkRetained.java
@@ -49,9 +49,7 @@ class LinkRetained extends LeafRetained {
LinkRetained() {
this.nodeType = NodeRetained.LINK;
- localBounds = new BoundingBox();
- ((BoundingBox)localBounds).setLower( 1.0, 1.0, 1.0);
- ((BoundingBox)localBounds).setUpper(-1.0,-1.0,-1.0);
+ localBounds = new BoundingBox((Bounds)null);
}
/**
diff --git a/src/classes/share/javax/media/j3d/MorphRetained.java b/src/classes/share/javax/media/j3d/MorphRetained.java
index a459800..a28eebe 100644
--- a/src/classes/share/javax/media/j3d/MorphRetained.java
+++ b/src/classes/share/javax/media/j3d/MorphRetained.java
@@ -147,9 +147,7 @@ class MorphRetained extends LeafRetained implements GeometryUpdater {
MorphRetained() {
this.nodeType = NodeRetained.MORPH;
- localBounds = new BoundingBox();
- ((BoundingBox)localBounds).setLower( 1.0, 1.0, 1.0);
- ((BoundingBox)localBounds).setUpper(-1.0,-1.0,-1.0);
+ localBounds = new BoundingBox((Bounds)null);
}
/**
diff --git a/src/classes/share/javax/media/j3d/NodeRetained.java b/src/classes/share/javax/media/j3d/NodeRetained.java
index e32abdc..21f6430 100644
--- a/src/classes/share/javax/media/j3d/NodeRetained.java
+++ b/src/classes/share/javax/media/j3d/NodeRetained.java
@@ -194,9 +194,7 @@ abstract class NodeRetained extends SceneGraphObjectRetained implements NnuId {
// Get a not necessary unique Id.
nnuId = NnuIdManager.getId();
- localBounds = new BoundingBox();
- ((BoundingBox)localBounds).setUpper(-1.0, -1.0, -1.0);
- ((BoundingBox)localBounds).setLower( 1.0, 1.0, 1.0);
+ localBounds = new BoundingBox((Bounds)null);
}
diff --git a/src/classes/share/javax/media/j3d/PointLightRetained.java b/src/classes/share/javax/media/j3d/PointLightRetained.java
index 1086adf..05d2771 100644
--- a/src/classes/share/javax/media/j3d/PointLightRetained.java
+++ b/src/classes/share/javax/media/j3d/PointLightRetained.java
@@ -65,9 +65,7 @@ class PointLightRetained extends LightRetained {
PointLightRetained() {
this.nodeType = NodeRetained.POINTLIGHT;
lightType = 3;
- localBounds = new BoundingBox();
- ((BoundingBox)localBounds).setLower( 1.0, 1.0, 1.0);
- ((BoundingBox)localBounds).setUpper(-1.0,-1.0,-1.0);
+ localBounds = new BoundingBox((Bounds)null);
}
/**
diff --git a/src/classes/share/javax/media/j3d/SoundscapeRetained.java b/src/classes/share/javax/media/j3d/SoundscapeRetained.java
index 7fa6945..1e48add 100644
--- a/src/classes/share/javax/media/j3d/SoundscapeRetained.java
+++ b/src/classes/share/javax/media/j3d/SoundscapeRetained.java
@@ -91,9 +91,7 @@ class SoundscapeRetained extends LeafRetained
SoundscapeRetained() {
super();
this.nodeType = NodeRetained.SOUNDSCAPE;
- localBounds = new BoundingBox();
- ((BoundingBox)localBounds).setLower( 1.0, 1.0, 1.0);
- ((BoundingBox)localBounds).setUpper(-1.0,-1.0,-1.0);
+ localBounds = new BoundingBox((Bounds)null);
}
diff --git a/src/classes/share/javax/media/j3d/ViewPlatformRetained.java b/src/classes/share/javax/media/j3d/ViewPlatformRetained.java
index b705a3c..b0833cf 100644
--- a/src/classes/share/javax/media/j3d/ViewPlatformRetained.java
+++ b/src/classes/share/javax/media/j3d/ViewPlatformRetained.java
@@ -108,9 +108,7 @@ class ViewPlatformRetained extends LeafRetained {
ViewPlatformRetained() {
this.nodeType = NodeRetained.VIEWPLATFORM;
- localBounds = new BoundingBox();
- ((BoundingBox)localBounds).setLower( 1.0, 1.0, 1.0);
- ((BoundingBox)localBounds).setUpper(-1.0,-1.0,-1.0);
+ localBounds = new BoundingBox((Bounds)null);
IndexedUnorderSet.init(this, TOTAL_INDEXED_UNORDER_SET_TYPES);
schedSphere = (BoundingSphere) sphere.clone();
}