summaryrefslogtreecommitdiffstats
path: root/src/classes
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2012-06-27 16:55:40 -0700
committerHarvey Harrison <[email protected]>2012-06-27 16:56:27 -0700
commit3c51d43b377f446ea670b973bec121f086544517 (patch)
tree6d632d0975cbabdd2024d66363ef640ad438ebe0 /src/classes
parent56642b9d06429fb9ed70302de916931ceff313ea (diff)
j3dcore: remove the never-used Table class containing various lookup tables
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/classes')
-rw-r--r--src/classes/share/javax/media/j3d/J3dDebug.java1
-rw-r--r--src/classes/share/javax/media/j3d/Table.java98
2 files changed, 0 insertions, 99 deletions
diff --git a/src/classes/share/javax/media/j3d/J3dDebug.java b/src/classes/share/javax/media/j3d/J3dDebug.java
index b483600..1b18544 100644
--- a/src/classes/share/javax/media/j3d/J3dDebug.java
+++ b/src/classes/share/javax/media/j3d/J3dDebug.java
@@ -324,7 +324,6 @@ class J3dDebug {
static final int Switch = !devPhase?NO_DEBUG:NO_DEBUG;
static final int switchRetained = !devPhase?NO_DEBUG:NO_DEBUG;
static final int switchValueInterpolator = !devPhase?NO_DEBUG:NO_DEBUG;
- static final int table = !devPhase?NO_DEBUG:NO_DEBUG;
static final int texCoordGeneration = !devPhase?NO_DEBUG:NO_DEBUG;
static final int texCoordGenerationRetained = !devPhase?NO_DEBUG:NO_DEBUG;
static final int text3D = !devPhase?NO_DEBUG:NO_DEBUG;
diff --git a/src/classes/share/javax/media/j3d/Table.java b/src/classes/share/javax/media/j3d/Table.java
deleted file mode 100644
index db743c5..0000000
--- a/src/classes/share/javax/media/j3d/Table.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/*
- * Copyright 1997-2008 Sun Microsystems, Inc. All Rights Reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation. Sun designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Sun in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
- * CA 95054 USA or visit www.sun.com if you need additional information or
- * have any questions.
- *
- */
-
-package javax.media.j3d;
-
-/**
- * Used by ImageComponent for data conversions
- */
-
-class Table extends Object {
-
- // 2 to 8 bit data conversion
- static final int[] table2To8Bit = {0,85,170,255};
-
- // 3 to 8 bit data conversion
- static final int[] table3To8Bit = {0,36,73,109,146,182,219,255};
-
- // 4 to 8 bit data conversion
- static final int[] table4To8Bit = {
- 0,17,34,51,68,85,102,119,136,153,170,187,204,221,238,255};
-
- // 5 to 8 bit data conversion
- static final int[] table5To8Bit = {
- 0,8,16,25,33,41,49,58,66,74,82,90,99,107,115,123,132,140,148,156,
- 165,173,181,189,197,206,214,222,230,239,247,255};
-
- // 8 to 4 bit data conversion
- static final int[] table8To4Bit = {
- 0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
- 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,
- 4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,
- 6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,
- 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,
- 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,
- 15,15};
-
- // 8 to 5 bit data conversion
- static int[] table8To5Bit = {
- 0,0,0,0,0,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,3,3,3,3,3,
- 3,3,3,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,
- 7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,11,11,11,
- 11,11,11,11,11,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,14,
- 14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,
- 17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,
- 19,19,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,22,22,22,22,22,
- 22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,25,25,25,
- 25,25,25,25,25,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,28,
- 28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,30,30,30,30,30,30,30,30,
- 31,31,31,31,31};
-
- // 8 to 3 bit data conversion
- static int[] table8To3Bit = {
- 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
- 1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
- 2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3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