Changeset 25277
- Timestamp:
- Sep 4, 2009, 2:20:08 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/Ohana/src/kapa2/src/PaintOverlay.c
r25179 r25277 77 77 # define DT 0.1 78 78 for (t = DT; t < 2*M_PI + DT; t+=DT) { 79 x1 = X + pX*dx*cos(t)*cs -pX*dy*sin(t)*sn;80 y1 = Y +pY*dx*cos(t)*sn + pY*dy*sin(t)*cs;79 x1 = X + pX*dx*cos(t)*cs + pX*dy*sin(t)*sn; 80 y1 = Y - pY*dx*cos(t)*sn + pY*dy*sin(t)*cs; 81 81 XDrawLine (graphic[0].display, graphic[0].window, graphic[0].gc, x0, y0, x1, y1); 82 82 x0 = x1;
Note:
See TracChangeset
for help on using the changeset viewer.
