update norm

This commit is contained in:
H3XploR
2025-02-19 16:38:36 +01:00
parent a8f9e1724a
commit 4a67c6f905
4 changed files with 67 additions and 45 deletions
+8 -1
View File
@@ -6,7 +6,7 @@
/* By: yantoine <yantoine@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/02/13 20:02:36 by yantoine #+# #+# */
/* Updated: 2025/02/19 16:27:24 by yantoine ### ########.fr */
/* Updated: 2025/02/19 16:37:07 by yantoine ### ########.fr */
/* */
/* ************************************************************************** */
@@ -95,6 +95,13 @@ typedef struct s_hit
t_vec3 color;
} t_hit;
typedef struct s_hit_info {
t_vec3 point;
t_vec3 normal;
t_vec3 color;
} t_hit_info;
typedef struct s_camera
{
t_vec3 camPos;