diff options
author | Carsten Weisse <[email protected]> | 2005-05-07 23:40:49 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2005-05-07 23:40:49 +0000 |
commit | 7b85a1449e8ab61c0aac8069d3e7c9c2cd64218e (patch) | |
tree | 28bbbf1cb51217e2d48d6f6ddbc69b427edeaa96 /src/jake2/qcommon | |
parent | 826dccd33770d6a84d20d3d9258c61d0474c5e7b (diff) |
dtriverts never used
Diffstat (limited to 'src/jake2/qcommon')
-rw-r--r-- | src/jake2/qcommon/qfiles.java | 35 |
1 files changed, 2 insertions, 33 deletions
diff --git a/src/jake2/qcommon/qfiles.java b/src/jake2/qcommon/qfiles.java index 8805ce9..67271df 100644 --- a/src/jake2/qcommon/qfiles.java +++ b/src/jake2/qcommon/qfiles.java @@ -2,7 +2,7 @@ * qfiles.java * Copyright (C) 2003 * - * $Id: qfiles.java,v 1.5 2005-05-07 22:15:04 cawe Exp $ + * $Id: qfiles.java,v 1.6 2005-05-07 23:40:49 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -194,37 +194,6 @@ public class qfiles { } } - public static class dtrivertx_t { - private byte v0; // byte 0..255 scaled byte to fit in frame mins/maxs - private byte v1; - private byte v2; - - private byte lightnormalindex; // byte 0 .. 255; - - public dtrivertx_t(ByteBuffer b) { - v0 = b.get(); // unsigned byte - v1 = b.get(); // unsigned byte - v2 = b.get(); // unsigned byte - lightnormalindex = b.get(); // unsigned byte - } - - public final int v0() { - return v0 & 0xFF; - } - - public final int v1() { - return v1 & 0xFF; - } - - public final int v2() { - return v2 & 0xFF; - } - - public final int lightnormalindex() { - return lightnormalindex & 0xFF; - } - } - public static final int DTRIVERTX_V0 = 0; public static final int DTRIVERTX_V1 = 1; public static final int DTRIVERTX_V2 = 2; @@ -235,7 +204,7 @@ public class qfiles { public float[] scale = {0, 0, 0}; // multiply byte verts by this public float[] translate = {0, 0, 0}; // then add this public String name; // frame name from grabbing (size 16) - public dtrivertx_t[] verts; // variable sized + public int[] verts; // variable sized public daliasframe_t(ByteBuffer b) { scale[0] = b.getFloat(); scale[1] = b.getFloat(); scale[2] = b.getFloat(); |