/[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.34 by tjl, Wed Oct 2 13:24:16 2002 UTC revision 1.35 by tjl, Thu Oct 3 11:23:36 2002 UTC
# Line 109  public static final String rcsid = "$Id$ Line 109  public static final String rcsid = "$Id$
109          return was;          return was;
110      }      }
111    
112        public int translateXYZ(int into, float sx, float sy, float sz) {
113            floats[nfloats + 0] = sx;
114            floats[nfloats + 1] = sy;
115            floats[nfloats + 2] = sz;
116            int paramInd = nfloats;
117            nfloats += 3;
118    
119            inds[ninds + 0] = 6; // translation xyz
120            inds[ninds + 1] = into;
121            inds[ninds + 2] = paramInd;
122            int was = ninds / 3;
123            ninds += 3;
124    
125            return was;
126        }
127    
128        public int buoyOnCircle(int into, float cx, float cy,
129                            float rad, float px, float py) {
130            floats[nfloats + 0] = cx;
131            floats[nfloats + 1] = cy;
132            floats[nfloats + 2] = rad;
133            floats[nfloats + 3] = px;
134            floats[nfloats + 4] = py;
135            int paramInd = nfloats;
136            nfloats += 5;
137    
138            inds[ninds + 0] = 7; // buoy xyz
139            inds[ninds + 1] = into;
140            inds[ninds + 2] = paramInd;
141            int was = ninds / 3;
142            ninds += 3;
143    
144            return was;
145        }
146    
147    
148    
149      public int scaleXYZ(int into, float sx, float sy, float sz) {      public int scaleXYZ(int into, float sx, float sy, float sz) {
150          floats[nfloats + 0] = sx;          floats[nfloats + 0] = sx;
151          floats[nfloats + 1] = sy;          floats[nfloats + 1] = sy;

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

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