/[gzz]/gzz/gzz/client/gl/GLScreen.java
ViewVC logotype

Diff of /gzz/gzz/client/gl/GLScreen.java

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

revision 1.31 by benja, Wed Sep 25 12:27:59 2002 UTC revision 1.32 by tjl, Wed Sep 25 14:45:43 2002 UTC
# Line 181  public static final String rcsid = "$Id$ Line 181  public static final String rcsid = "$Id$
181          VobScene vs = new VobScene(          VobScene vs = new VobScene(
182                  new GLVobMap(this),                  new GLVobMap(this),
183                  new GLVobCoorder(),                  new GLVobCoorder(),
184                    new DefaultVobMatcher(),
185                  this.getGraphicsAPI(),                  this.getGraphicsAPI(),
186                  this,                  this,
187                  size                  size
# Line 223  public static final String rcsid = "$Id$ Line 224  public static final String rcsid = "$Id$
224      public void renderStill(VobScene scene, float lod) {      public void renderStill(VobScene scene, float lod) {
225          renderAnim(scene, null, 0, lod, true);          renderAnim(scene, null, 0, lod, true);
226      }      }
227    
228        VobScene listprev, listnext;
229        int[] interplist;
230    
231      public void renderAnim(VobScene prev, VobScene next, float fract, float lod,      public void renderAnim(VobScene prev, VobScene next, float fract, float lod,
232              boolean showFinal) {              boolean showFinal) {
233          if(dbg) pa("glscreen renderanim "+fract+" "+lod);          if(dbg) pa("glscreen renderanim "+fract+" "+lod);
# Line 239  public static final String rcsid = "$Id$ Line 244  public static final String rcsid = "$Id$
244              sc.dump();              sc.dump();
245          }          }
246    
247          ((GLVobCoorder)sc.coords).renderInterp(window, (GLVobMap)sc.map,          if(sc != listprev || osc != listnext) {
248                listprev = sc;
249                listnext = osc;
250                interplist = sc.matcher.interpList(osc.matcher);
251            }
252    
253            ((GLVobCoorder)sc.coords).renderInterp(window,
254                                            (GLVobMap)sc.map, interplist,
255                                                 (GLVobCoorder)osc.coords, fract,                                                 (GLVobCoorder)osc.coords, fract,
256                                                 true, showFinal);                                                 true, showFinal);
257    

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

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