WIP: la cata (je n'arrive pas à dessiner cette f.. matrice !

This commit is contained in:
Jean Sirmai 2023-07-26 19:38:28 +02:00
parent d56840e5a3
commit 3a29f20df7
Signed by: jean
GPG Key ID: FB3115C340E057E3
1 changed files with 3 additions and 3 deletions

View File

@ -365,9 +365,9 @@ static bool compute_space_3D (long x,
}
}
for (int u = 0; u < y; u ++){
for (int w = 0; w < z; w ++){
calcul = step_z * w + step_y * u;
for (int u = 0; u < z; u ++){
for (int w = 0; w < y; w ++){
calcul = step_y * w + step_z * u;
*(lines_origin + lines_buffer_size) = calcul; lines_buffer_size += 1;
*(lines_origin + lines_buffer_size) = calcul + step_x * (x - 1); lines_buffer_size += 1;
}