Lines Matching defs:arg
1035 double darg1 = arg1 - star->arg[0];
1038 star->randomized = darg1/(star->arg[0] - star->arg[1]);
1040 star->rounded = darg1/(star->arg[0] - star->arg[1]);
1045 star->arg[0] = arg1;
1046 star->arg[1] += darg1;
1063 double darg1 = arg1 - star->arg[1];
1066 star->randomized = darg1/(star->arg[0] - star->arg[1]);
1068 star->rounded = fabs(darg1/(star->arg[0] - star->arg[1]));
1071 star->arg[1] = star->arg[0] + M_PI / star->sides;
1075 star->arg[1] = atan2(d);
1117 star->arg[1] = star->arg[0] + M_PI / star->sides;
1177 * [shift] increase/decrease inner and outer arg synchronizely
1178 * [control] constrain inner arg to round per PI/4
1209 spiral->t0 = (arg_t0_new - spiral->arg) / (2.0*M_PI*spiral->revo);
1211 /* round inner arg per PI/snaps, if CTRL is pressed */
1215 gdouble arg = 2.0*M_PI*spiral->revo*spiral->t0 + spiral->arg;
1216 spiral->t0 = (sp_round(arg, M_PI/snaps) - spiral->arg)/(2.0*M_PI*spiral->revo);
1228 * [control] constrain inner arg to round per PI/4
1243 spiral->arg = atan2(dy, dx) - 2.0*M_PI*spiral->revo;
1250 spiral->arg = sp_round(spiral->arg, M_PI/snaps);
1253 // arg of the spiral outer end
1260 // arg of the mouse point relative to spiral center
1279 double t_temp = ((arg_1 + diff) - spiral->arg)/(2*M_PI*spiral->revo);