/* ************************************************************************** */ /* */ /* :::::::: */ /* sub.c :+: :+: */ /* +:+ */ /* By: whaffman +#+ */ /* +#+ */ /* Created: 2025/04/25 09:57:55 by whaffman #+# #+# */ /* Updated: 2025/05/14 16:13:20 by whaffman ######## odam.nl */ /* */ /* ************************************************************************** */ #include "cub3d.h" #include "math.h" #include "vec_math.h" t_vec2 sub(t_vec2 a, t_vec2 b) { t_vec2 result; result.x = a.x - b.x; result.y = a.y - b.y; return (result); }