home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Late Night VRML 2.0 with Java CD-ROM
/
code.zip
/
Ch13
/
quake
/
TextureVertex.java
< prev
next >
Wrap
Text File
|
1996-11-17
|
619b
|
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();
}
}