703
edits
No edit summary |
|||
Line 139: | Line 139: | ||
float y; // Y-Position | float y; // Y-Position | ||
int seg; // Segmentzähler | |||
int r; // Radius | int r; // Radius | ||
float g; // Richtung | float g; // Richtung | ||
Line 157: | Line 157: | ||
} | } | ||
void maleSegmente( | void maleSegmente(int seg,int r,float g,float x,float y) { | ||
float segmentzahl = 3 + seg; | float segmentzahl = 3 + (float)seg; | ||
float angleStep = 360/segmentzahl; | float angleStep = 360/segmentzahl; | ||
edits