/* By: ljiriste <ljiriste@student.42prague.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/11/28 12:34:20 by ljiriste #+# #+# */
-/* Updated: 2025/01/08 14:53:13 by ljiriste ### ########.fr */
+/* Updated: 2025/01/10 15:36:56 by ljiriste ### ########.fr */
/* */
/* ************************************************************************** */
{
if (tree->children.size == 2)
{
- if (add_element_to_scene(ft_cget_node_child(tree, 1), scene))
- return (1);
if (parse_tree_to_scene(ft_cget_node_child(tree, 0), scene))
return (1);
+ if (add_element_to_scene(ft_cget_node_child(tree, 1), scene))
+ return (1);
}
return (0);
}
L 3,0,0 0.4 255,0,0
L 3,1,0 0.4 0,0,255
-C 2,0,0 1,0,-1 70
C 0,0,0 1,0,0 90
+C 2,0,0 1,0,-1 70
sp 3,0.5,-0.7 0.6 255,255,255
L 3,0.5,-0.5 0.01 0,255,0
L 3,0.5,-0.9 0.01 255,0,0