- Timestamp:
- May 3, 2010, 8:45:22 AM (16 years ago)
- Location:
- branches/simmosaic_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/simmosaic_branches
- Property svn:mergeinfo changed
-
branches/simmosaic_branches/Ohana
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk/Ohana merged eligible /branches/eam_branches/Ohana.20100407 27635-27772 /branches/pap_delete/Ohana 27530-27595
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/simmosaic_branches/Ohana/src/kapa2/src/bDrawOverlay.c
r19838 r27839 81 81 double sn = sin(angle); 82 82 x0 = X + pX*dx*cs; 83 y0 = Y -pY*dx*sn;83 y0 = Y + pY*dx*sn; 84 84 // XXX dt should be based on the size of the ellipse... 85 85 // 0.10 -> 60 segments on the ellipse 86 86 # define DT 0.1 87 87 for (t = DT; t < 2*M_PI + DT; t+=DT) { 88 x1 = X + pX*dx*cos(t)*cs +pX*dy*sin(t)*sn;89 y1 = Y -pY*dx*cos(t)*sn + pY*dy*sin(t)*cs;88 x1 = X + pX*dx*cos(t)*cs - pX*dy*sin(t)*sn; 89 y1 = Y + pY*dx*cos(t)*sn + pY*dy*sin(t)*cs; 90 90 bDrawLine (x0, y0, x1, y1); 91 91 x0 = x1;
Note:
See TracChangeset
for help on using the changeset viewer.
