WIP: 1 x 1 x 1 OK avec adresse = coeff + cubes_nb * 3 - 2

This commit is contained in:
Jean Sirmai 2023-08-23 12:46:22 +02:00
parent ce01d7622a
commit 5858d9578c
Signed by: jean
GPG Key ID: FB3115C340E057E3
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ if (1) printf("space_XYZ (%d*%d*%d) step_xyz (%d,%d,%d) coeff = %d = step_z *
for (int j = 0; j < space_Y; j++)
for (int k = 0; k < space_Z; k++){
rayon = radius(i, j, k, space_X, space_Y, space_Z);
if (rayon < limit_sup && rayon >= limit_inf){
if (rayon < limit_sup && rayon > limit_inf){
u = (i - space_X / 2) * step_x + (j - space_Y / 2) * step_y + (k - space_Z / 2) * step_z;
v = i * step_x + j * step_y + k * step_z;