From: Carsten W. <ca...@us...> - 2005-05-07 23:41:02
|
Update of /cvsroot/jake2/jake2/src/jake2/qcommon In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31161/src/jake2/qcommon Modified Files: qfiles.java Log Message: dtriverts never used Index: qfiles.java =================================================================== RCS file: /cvsroot/jake2/jake2/src/jake2/qcommon/qfiles.java,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** qfiles.java 7 May 2005 22:15:04 -0000 1.5 --- qfiles.java 7 May 2005 23:40:49 -0000 1.6 *************** *** 195,229 **** } - 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; --- 195,198 ---- *************** *** 236,240 **** 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 daliasframe_t(ByteBuffer b) { --- 205,209 ---- public float[] translate = {0, 0, 0}; // then add this public String name; // frame name from grabbing (size 16) ! public int[] verts; // variable sized public daliasframe_t(ByteBuffer b) { |