summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2012-01-26 23:09:26 -0800
committerHarvey Harrison <[email protected]>2012-01-26 23:09:26 -0800
commit61cb8b7fe62d58442ac619bbc6a5959074670712 (patch)
tree8e5755cedde93788b7d29842136764a7ca788e93
parentaa7e88dca4c747b84c06f672c6dda3f1b7925081 (diff)
j3dutils: remove totally unused BoundingBox from CompressedGeometryRetained
Signed-off-by: Harvey Harrison <[email protected]>
-rw-r--r--src/classes/share/com/sun/j3d/utils/geometry/compression/CompressedGeometryRetained.java14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/classes/share/com/sun/j3d/utils/geometry/compression/CompressedGeometryRetained.java b/src/classes/share/com/sun/j3d/utils/geometry/compression/CompressedGeometryRetained.java
index 3d47e34..9bc901d 100644
--- a/src/classes/share/com/sun/j3d/utils/geometry/compression/CompressedGeometryRetained.java
+++ b/src/classes/share/com/sun/j3d/utils/geometry/compression/CompressedGeometryRetained.java
@@ -44,7 +44,6 @@
package com.sun.j3d.utils.geometry.compression;
-import javax.media.j3d.BoundingBox;
import javax.media.j3d.GeometryArray;
/**
@@ -102,9 +101,6 @@ class CompressedGeometryRetained extends Object {
// is made even when by-reference semantics have been requested.
private byte[] originalCompressedGeometry = null ;
- // Geometric bounds
- private BoundingBox geoBounds = new BoundingBox();
-
// True if by-reference data access mode is in effect.
private boolean byReference = false ;
@@ -112,10 +108,6 @@ class CompressedGeometryRetained extends Object {
* The package-scoped constructor.
*/
CompressedGeometryRetained() {
- // Compressed geometry is always bounded by [-1..1] on each axis, so
- // set that as the initial bounding box.
- geoBounds.setUpper( 1.0, 1.0, 1.0) ;
- geoBounds.setLower(-1.0,-1.0,-1.0) ;
}
/**
@@ -167,12 +159,6 @@ class CompressedGeometryRetained extends Object {
this.byReference = byReference ;
- if (hdr.lowerBound != null)
- this.geoBounds.setLower(hdr.lowerBound) ;
-
- if (hdr.upperBound != null)
- this.geoBounds.setUpper(hdr.upperBound) ;
-
//// this.centroid.set(geoBounds.getCenter());
//// recompCentroid = false;
this.majorVersionNumber = hdr.majorVersionNumber ;