/* ************************************************************************** */ /* */ /* :::::::: */ /* perp.c :+: :+: */ /* +:+ */ /* By: whaffman +#+ */ /* +#+ */ /* Created: 2025/04/25 10:34:39 by whaffman #+# #+# */ /* Updated: 2025/05/14 16:13:27 by whaffman ######## odam.nl */ /* */ /* ************************************************************************** */ #include "cub3d.h" #include "math.h" #include "vec_math.h" t_vec2 perp(t_vec2 a) { t_vec2 result; result.x = -a.y; result.y = a.x; return (result); }