/[gzz]/gzz/gzz/vob/Vob.java
ViewVC logotype

Diff of /gzz/gzz/vob/Vob.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.19 by tjl, Thu Dec 5 10:57:34 2002 UTC revision 1.20 by tjl, Sun Jan 12 11:41:46 2003 UTC
# Line 79  public static final String rcsid = "$Id$ Line 79  public static final String rcsid = "$Id$
79                                  boolean foo,                                  boolean foo,
80                                  RenderInfo info1,                                  RenderInfo info1,
81                                  RenderInfo info2) { }                                  RenderInfo info2) { }
82      private final int addToListGL(  
83        public final int addToListGL(
84                          int[] list, int curs, int coordsys1,                          int[] list, int curs, int coordsys1,
85                                  int coordsys2) { return -42; }                                  int coordsys2) {
86            throw new Error();
87        }
88    
89      /** For OpenGL: Add the current vob to the given display list, using      /** For OpenGL: Add the current vob to the given display list, using
90       * the given coordinate systems.       * the given coordinate systems.
91       * If only one coordinate system is needed, coordsys1 is used.       * There are two alternatives: for composite Vobs, this will
92         * call vs.put for the components, for "real" GL Vobs,
93         * this will return the GL index.
94       */       */
95      public int addToListGL(gzz.client.GraphicsAPI.RenderingSurface win,      public int putGL(VobScene vs) {
96            throw new Error("Wrong # coordsys: 0 for " + this);
97        }
98        public int putGL(VobScene vs, int cs1) {
99            throw new Error("Wrong # coordsys: 1 for " + this);
100        }
101        public int putGL(VobScene vs, int cs1, int cs2) {
102            throw new Error("Wrong # coordsys: 2 for " + this);
103        }
104        public int putGL(VobScene vs, int cs1, int cs2, int cs3) {
105            throw new Error("Wrong # coordsys: 3 for " + this);
106        }
107    
108    
109    
110        public final int addToListGL(gzz.client.GraphicsAPI.RenderingSurface win,
111                          int[] list, int curs, int coordsys1,                          int[] list, int curs, int coordsys1,
112                                  int coordsys2) {                                  int coordsys2) {
113          if(dbg) {          throw new Error();
             System.err.println("Vob default (empty) addToListGL called; you probably didn't mean this..." + this);  
             new Throwable().fillInStackTrace().printStackTrace();  
         }  
         return curs;  
114      }      }
115    
116      /** An interface which provides information about the current      /** An interface which provides information about the current

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26