mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 07:11:12 +00:00
fixed zobov bug which mis-aligned tracers and guard particles when only using one subdivision (it actually affected all cases but only caused issues here)
This commit is contained in:
parent
b78ff2bd52
commit
1196294b5d
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ int main(int argc, char *argv[]) {
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
DL c[d] = ((float)b[d])*width;
|
DL c[d] = ((float)b[d]+0.5)*width;
|
||||||
printf("c: %f,%f,%f\n",c[0],c[1],c[2]);
|
printf("c: %f,%f,%f\n",c[0],c[1],c[2]);
|
||||||
/* Assign temporary array*/
|
/* Assign temporary array*/
|
||||||
nvpbuf = 0; /* Number of particles to tesselate, including
|
nvpbuf = 0; /* Number of particles to tesselate, including
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue