bool constrain = false;
bool dyna = false;
int side = 0;
- boolean clip = TRUE;
+ bool clip = true;
boolean defined;
double maxv; /* sufficiently large value outside of range of node */
theta = 0.0;
constrain = true;
defined = TRUE;
- clip = FALSE;
+ clip = false;
side = sides & RIGHT;
}
break;
case 's':
p.y = b.LL.y;
constrain = true;
- clip = FALSE;
+ clip = false;
switch (*compass) {
case '\0':
theta = -M_PI * 0.5;
default:
p.y = ctr.y;
constrain = false;
- clip = TRUE;
+ clip = true;
rv = 1;
break;
}
theta = M_PI;
constrain = true;
defined = TRUE;
- clip = FALSE;
+ clip = false;
side = sides & LEFT;
}
break;
case 'n':
p.y = b.UR.y;
constrain = true;
- clip = FALSE;
+ clip = false;
switch (*compass) {
case '\0':
defined = TRUE;
default:
p.y = ctr.y;
constrain = false;
- clip = TRUE;
+ clip = true;
rv = 1;
break;
}
}
pp->constrained = constrain ? TRUE : FALSE;
pp->defined = defined;
- pp->clip = clip;
+ pp->clip = clip ? TRUE : FALSE;
pp->dyna = dyna ? TRUE : FALSE;
return rv;
}