home *** CD-ROM | disk | FTP | other *** search
Java Source | 1996-11-17 | 619 b | 24 lines |
- // Skin vertex for an MDL file from Quake
-
- // Written by Bernie Roehl, November 1996
-
- package quake;
-
- import java.io.*;
-
- public class TextureVertex {
- protected boolean onseam;
- protected int s, t;
-
- public boolean isOnseam() { return onseam; }
- public int getS() { return s; }
- public int getT() { return t; }
-
- public TextureVertex(ByteFlipInputStream input) throws IOException {
- onseam = (input.readFlippedInt() == 0) ? false : true;
- s = input.readFlippedInt();
- t = input.readFlippedInt();
- }
- }
-
-