/[gzz]/gzz/gzz/vob/vobs/ColoredSectorVob.java
ViewVC logotype

Diff of /gzz/gzz/vob/vobs/ColoredSectorVob.java

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

revision 1.8 by humppake, Wed Mar 5 09:37:29 2003 UTC revision 1.9 by humppake, Wed Mar 5 10:34:28 2003 UTC
# Line 57  public static final String rcsid = "$Id$ Line 57  public static final String rcsid = "$Id$
57          if (!circleGLReady) {          if (!circleGLReady) {
58              for (int i=0;i<360;i++) {              for (int i=0;i<360;i++) {
59                  float a = (float)((Math.PI / 180) * (360-i));                  float a = (float)((Math.PI / 180) * (360-i));
60                  circleGL[i][0] = r + x(a, r);                  circleGL[i][0] = 0.5f + x(a, r);
61                  circleGL[i][1] = r + y(a, r);                  circleGL[i][1] = 0.5f + y(a, r);
62              }              }
63              circleGLReady = true;              circleGLReady = true;
64          }          }

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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