projects
/
chise
/
kage.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bugfix.
[chise/kage.git]
/
kagecgi
/
kagecd.c
diff --git
a/kagecgi/kagecd.c
b/kagecgi/kagecd.c
index
61087eb
..
62d1afe
100755
(executable)
--- a/
kagecgi/kagecd.c
+++ b/
kagecgi/kagecd.c
@@
-2,16
+2,16
@@
//
\r
#include "kage.h"
\r
\r
//
\r
#include "kage.h"
\r
\r
-void cdDrawCurve(int x1, int y1,
\r
- int x2, int y2,
\r
- int x3, int y3,
\r
+void cdDrawCurve(double x1, double y1,
\r
+ double x2, double y2,
\r
+ double x3, double y3,
\r
int a1, int a2){
\r
\r
double rad, t;
\r
double x, y, v;
\r
double ix, iy, ia, ib, ir;
\r
int count, tt;
\r
int a1, int a2){
\r
\r
double rad, t;
\r
double x, y, v;
\r
double ix, iy, ia, ib, ir;
\r
int count, tt;
\r
- int delta;
\r
+ double delta;
\r
double deltad;
\r
double XX, XY, YX, YY;
\r
\r
double deltad;
\r
double XX, XY, YX, YY;
\r
\r
@@
-562,9
+562,10
@@
void cdDrawCurve(int x1, int y1,
}
\r
}
\r
\r
}
\r
}
\r
\r
-void cdDrawLine(int tx1, int ty1, int tx2, int ty2, int ta1, int ta2){
\r
+void cdDrawLine(double tx1, double ty1, double tx2, double ty2, int ta1, int ta2){
\r
double rad;
\r
double rad;
\r
- int v, x1, y1, x2, y2, a1, a2;
\r
+ double v, x1, y1, x2, y2;
\r
+ int a1, a2;
\r
double XX, XY, YX, YY;
\r
\r
if(kShotai == kMincho){ //mincho
\r
double XX, XY, YX, YY;
\r
\r
if(kShotai == kMincho){ //mincho
\r