gerer le segfault sur PLEIN de ELEMENT
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
/* By: yantoine <yantoine@student.42.fr> +#+ +:+ +#+ */
|
/* By: yantoine <yantoine@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2025/02/14 01:41:17 by yantoine #+# #+# */
|
/* Created: 2025/02/14 01:41:17 by yantoine #+# #+# */
|
||||||
/* Updated: 2025/02/25 19:36:04 by yantoine ### ########.fr */
|
/* Updated: 2025/03/05 14:53:12 by yantoine ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
@@ -86,6 +86,7 @@ t_scene load_config(const char *filename)
|
|||||||
if (!line)
|
if (!line)
|
||||||
break ;
|
break ;
|
||||||
scene = parsing_line(line, scene);
|
scene = parsing_line(line, scene);
|
||||||
|
|
||||||
}
|
}
|
||||||
ft_free_array(scene.all_file);
|
ft_free_array(scene.all_file);
|
||||||
return (scene);
|
return (scene);
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
/* By: yantoine <yantoine@student.42.fr> +#+ +:+ +#+ */
|
/* By: yantoine <yantoine@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2025/02/13 20:02:36 by yantoine #+# #+# */
|
/* Created: 2025/02/13 20:02:36 by yantoine #+# #+# */
|
||||||
/* Updated: 2025/02/25 19:21:06 by yantoine ### ########.fr */
|
/* Updated: 2025/03/05 14:29:14 by yantoine ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
A 0 255,255,255
|
A 0 255,255,255
|
||||||
|
|
||||||
C 4444444444444444444444444,1111111111111111111111111,9999999999999999999999999999 0,0,-1 70
|
C 444444444444444444444444444444444444444444444,1111111111111111111111111,9999999999999999999999999999 0,0,-1 70
|
||||||
|
|
||||||
L 11,40,50 1 255,255,255
|
L 11,40,50 1 255,255,255
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user