- [NEW] Carrega de la posició, orientació i sector inicials des del WAD

This commit is contained in:
2026-03-02 17:14:54 +01:00
parent c486f9e74a
commit 85353d64fb
2 changed files with 37 additions and 2 deletions

2
util.h
View File

@@ -10,4 +10,4 @@ const bool get_line_intersection(vec2 p0, vec2 p1, vec2 p2, vec2 p3, vec2 *i);
const float distance(vec2 p1, vec2 p2);
const void normalize(vec2 *v);
const float dot(vec2 v1, vec2 v2);
float is_enemy_in_fov(double Ax, double Ay, double orientation_deg, double Bx, double By);
float is_enemy_in_fov(double Ax, double Ay, double orientation_deg, double Bx, double By);