pointf p, ctr;
int rv = 0;
double theta = 0.0;
- boolean constrain = FALSE;
+ bool constrain = false;
boolean dyna = FALSE;
int side = 0;
boolean clip = TRUE;
else
p.x = b.UR.x;
theta = 0.0;
- constrain = TRUE;
+ constrain = true;
defined = TRUE;
clip = FALSE;
side = sides & RIGHT;
break;
case 's':
p.y = b.LL.y;
- constrain = TRUE;
+ constrain = true;
clip = FALSE;
switch (*compass) {
case '\0':
break;
default:
p.y = ctr.y;
- constrain = FALSE;
+ constrain = false;
clip = TRUE;
rv = 1;
break;
else
p.x = b.LL.x;
theta = M_PI;
- constrain = TRUE;
+ constrain = true;
defined = TRUE;
clip = FALSE;
side = sides & LEFT;
break;
case 'n':
p.y = b.UR.y;
- constrain = TRUE;
+ constrain = true;
clip = FALSE;
switch (*compass) {
case '\0':
break;
default:
p.y = ctr.y;
- constrain = FALSE;
+ constrain = false;
clip = TRUE;
rv = 1;
break;
angle -= 2 * M_PI;
pp->order = (int) (MC_SCALE * angle / (2 * M_PI));
}
- pp->constrained = constrain;
+ pp->constrained = constrain ? TRUE : FALSE;
pp->defined = defined;
pp->clip = clip;
pp->dyna = dyna;