From 61cb8b7fe62d58442ac619bbc6a5959074670712 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Thu, 26 Jan 2012 23:09:26 -0800 Subject: j3dutils: remove totally unused BoundingBox from CompressedGeometryRetained Signed-off-by: Harvey Harrison --- .../geometry/compression/CompressedGeometryRetained.java | 14 -------------- 1 file changed, 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 ; -- cgit v1.2.3