space dimension
This commit is contained in:
parent
de284948d7
commit
c5d0568578
|
@ -53,9 +53,9 @@ static Center_t *findWorkArea(Center_t *centersList, Arrow_t *electedArrow,
|
|||
newCenter = (Center_t*) malloc(sizeof(Center_t));
|
||||
|
||||
while (currentCenter){
|
||||
if ( (xmax && (abs(electedArrow->x - currentCenter->x) <= ruleRadius))
|
||||
|| (ymax && (abs(electedArrow->y - currentCenter->y) <= ruleRadius))
|
||||
|| (zmax && (abs(electedArrow->z - currentCenter->z) <= ruleRadius))
|
||||
if ( (xmax && (abs(electedArrow->x - currentCenter->x) <= ruleRadius))
|
||||
|| (ymax && (abs(electedArrow->y - currentCenter->y) <= ruleRadius))
|
||||
|| (zmax && (abs(electedArrow->z - currentCenter->z) <= ruleRadius))
|
||||
){
|
||||
free(newCenter);
|
||||
//printLog("Can't find a free area\n");
|
||||
|
|
Loading…
Reference in New Issue