/[gzz]/gzz/gzz/gfx/gl/GLVobCoorder.java
ViewVC logotype

Diff of /gzz/gzz/gfx/gl/GLVobCoorder.java

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

revision 1.32 by tjl, Mon Sep 30 22:20:28 2002 UTC revision 1.33 by tjl, Wed Oct 2 12:20:22 2002 UTC
# Line 50  public static final String rcsid = "$Id$ Line 50  public static final String rcsid = "$Id$
50          if(dbg) pa("AffineCoordSys "+ninds/3+": "+into+" '"+depth+" --- "+          if(dbg) pa("AffineCoordSys "+ninds/3+": "+into+" '"+depth+" --- "+
51                      cx+" "+cy+" "+x_x+" "+x_y+" "+y_x+" "+y_y);                      cx+" "+cy+" "+x_x+" "+x_y+" "+y_x+" "+y_y);
52    
         floats[nfloats + 0] = cx;  
         floats[nfloats + 1] = cy;  
         floats[nfloats + 2] = depth;  
         floats[nfloats + 3] = x_x;  
         floats[nfloats + 4] = x_y;  
         floats[nfloats + 5] = y_x;  
         floats[nfloats + 6] = y_y;  
53          int paramInd = nfloats;          int paramInd = nfloats;
54          nfloats += 7;          nfloats += 7;
55    
# Line 67  public static final String rcsid = "$Id$ Line 60  public static final String rcsid = "$Id$
60          int was = ninds / 3;          int was = ninds / 3;
61          ninds += 3;          ninds += 3;
62    
63            setAffineParams(was, depth, cx, cy, x_x, x_y, y_x, y_y);
64    
65          return was;          return was;
66      }      }
67    
68        public void setAffineParams(
69                int cs, float depth, float cx, float cy,
70                float x_x, float x_y, float y_x, float y_y) {
71            int ind = inds[cs + 2];
72            floats[ind + 0] = cx;
73            floats[ind + 1] = cy;
74            floats[ind + 2] = depth;
75            floats[ind + 3] = x_x;
76            floats[ind + 4] = x_y;
77            floats[ind + 5] = y_x;
78            floats[ind + 6] = y_y;
79        }
80    
81      public int rotateXY(int into, float degrees) {      public int rotateXY(int into, float degrees) {
82          floats[nfloats + 0] = degrees;          floats[nfloats + 0] = degrees;
83          int paramInd = nfloats;          int paramInd = nfloats;

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

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