Space is ArrowArray_t

This commit is contained in:
Adrien Bourmault 2021-06-16 12:02:51 +02:00
parent 77909af0c5
commit c7cb91a077
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
1 changed files with 4 additions and 2 deletions

View File

@ -63,8 +63,10 @@ int main(int argc, char **argv)
for (int i = 0; i < ARROW_NUMBER; i++) { for (int i = 0; i < ARROW_NUMBER; i++) {
scheduler0->arrowList->space[i].x = scheduler0->arrowList->space[i].x =
rand() % scheduler0->globalDrawingSpace->xmax; rand() % scheduler0->globalDrawingSpace->xmax;
scheduler0->arrowList->space[i].y = rand() % SPACE_SIZE; scheduler0->arrowList->space[i].y =
scheduler0->arrowList->space[i].z = rand() % SPACE_SIZE; rand() % scheduler0->globalDrawingSpace->ymax;
scheduler0->arrowList->space[i].z =
rand() % scheduler0->globalDrawingSpace->zmax;
} }
scheduler0->nmaxThread = MAX_THREAD; scheduler0->nmaxThread = MAX_THREAD;