home *** CD-ROM | disk | FTP | other *** search
/ Late Night VRML 2.0 with Java CD-ROM / code.zip / Ch12 / geometry / Texture.java < prev    next >
Text File  |  1996-12-31  |  553b  |  30 lines

  1. // VRML Generator
  2. // Copyright Justin Couch 1996
  3. //
  4. // Chapter 13: Late Night VRML 2.0 and Java
  5. //
  6. // Shape class
  7.  
  8. package geometry;
  9.  
  10. import java.io.PrintStream;
  11. import vrml.external.*;
  12. import vrml.external.field.*;
  13. import vrml.external.exception.*;
  14. import geometry.VrmlObject;
  15.  
  16. abstract class Texture extends VrmlObject
  17. {
  18.     protected boolean    repeatS = true;
  19.     protected boolean    repeatT = true;
  20.  
  21.     // Null constructor since you cannot create just a straight texture
  22.     protected Texture()
  23.     {
  24.     }
  25.     
  26.     public void writeToFile(PrintStream fp, int indent)
  27.     {
  28.     }
  29. }
  30.