t_vec2_int

This commit is contained in:
Willem Haffmans 2025-05-02 17:00:44 +02:00
parent 11aae23890
commit dbd8d2c217

View File

@ -3,10 +3,10 @@
/* :::::::: */ /* :::::::: */
/* types.h :+: :+: */ /* types.h :+: :+: */
/* +:+ */ /* +:+ */
/* By: qmennen <qmennen@student.codam.nl> +#+ */ /* By: whaffman <whaffman@student.codam.nl> +#+ */
/* +#+ */ /* +#+ */
/* Created: 2025/04/15 15:52:44 by qmennen #+# #+# */ /* Created: 2025/04/15 15:52:44 by qmennen #+# #+# */
/* Updated: 2025/04/25 10:01:28 by whaffman ######## odam.nl */ /* Updated: 2025/05/02 14:38:53 by whaffman ######## odam.nl */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -30,6 +30,12 @@ typedef struct s_vec2
float y; float y;
} t_vec2; } t_vec2;
typedef struct s_vec2_int
{
int x;
int y;
} t_vec2_int;
typedef struct s_vec2_line typedef struct s_vec2_line
{ {
t_vec2 support; t_vec2 support;