correction z negatifs pour colros
This commit is contained in:
@@ -18,6 +18,7 @@ t_fdf *init_fdf(t_fdf *fdf)
|
||||
fdf->offset = 50;
|
||||
fdf->margin = 50;
|
||||
fdf->altitude = 3;
|
||||
fdf->z_amplitude = fdf->max_z - fdf->min_z;
|
||||
fdf->map_size_x = (fdf->map_width - 1) * fdf->offset + 1;
|
||||
fdf->map_size_y = (fdf->map_height - 1) * fdf->offset + 1;
|
||||
fdf->win_size_x = fdf->map_size_x + 2 * fdf->margin;
|
||||
|
||||
Reference in New Issue
Block a user