/[gzz]/gzz/gzz/modules/pp/PlaneView.java
ViewVC logotype

Diff of /gzz/gzz/modules/pp/PlaneView.java

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

revision 1.59 by tjl, Thu Nov 7 09:33:31 2002 UTC revision 1.60 by tjl, Fri Dec 6 12:20:16 2002 UTC
# Line 81  public static final String rcsid = "$Id$ Line 81  public static final String rcsid = "$Id$
81          BgVob bg = BgVob.create(plane, null);          BgVob bg = BgVob.create(plane, null);
82          int bginto = vs.coords.ortho(viewport2screen, 500, 0, 0, 1, 1);          int bginto = vs.coords.ortho(viewport2screen, 500, 0, 0, 1, 1);
83          int bgpap = vs.coords.ortho(paper2viewport, 0, 0, 0, 100, 100);          int bgpap = vs.coords.ortho(paper2viewport, 0, 0, 0, 100, 100);
84          vs.matcher.addSub(viewport2screen, bginto, "BGTRANS");          vs.matcher.add(viewport2screen, bginto, "BGTRANS");
85          vs.matcher.addSub(paper2viewport, bgpap, "BGPAP");          vs.matcher.add(paper2viewport, bgpap, "BGPAP");
86          vs.map.put(bg, bginto, bgpap);          vs.map.put(bg, bginto, bgpap);
87    
88          vs.map.put(GLCache.getCallList("Color 0 0 0"));          vs.map.put(GLCache.getCallList("Color 0 0 0"));
89    
90          int into = ((GLVobCoorder)vs.coords).concat(viewport2screen, paper2viewport);          int into = ((GLVobCoorder)vs.coords).concat(viewport2screen, paper2viewport);
91          vs.matcher.addSub(viewport2screen, into, "PLANEINTO");          vs.matcher.add(viewport2screen, into, "PLANEINTO");
92    
93          Space space = cursor.space;          Space space = cursor.space;
94          Dim d_1 = space.getDim(Ids.d_1);          Dim d_1 = space.getDim(Ids.d_1);
# Line 196  public static final String rcsid = "$Id$ Line 196  public static final String rcsid = "$Id$
196          center = center.getRootclone();          center = center.getRootclone();
197          int place[] = Params.getInts(center.s(d.pan, 1), d.pan, 2, null);          int place[] = Params.getInts(center.s(d.pan, 1), d.pan, 2, null);
198          float scale = 0.01f;          float scale = 0.01f;
199          int p2v = vs.matcher.addSub(          int p2v = vs.matcher.add(
200                          cs,                          cs,
201                  vs.coords.ortho(0, 0,                  vs.coords.ortho(0, 0,
202                      -scale*place[0]+0.5f, -scale*place[1]+0.5f,                      -scale*place[0]+0.5f, -scale*place[1]+0.5f,

Legend:
Removed from v.1.59  
changed lines
  Added in v.1.60

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