mirror of
https://codeberg.org/ACME-Corporation/cub3d.git
synced 2025-12-06 01:48:08 +01:00
23 lines
1.2 KiB
C
23 lines
1.2 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* consts.c :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: kcolin <kcolin@42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2025/07/28 14:33:12 by kcolin #+# #+# */
|
|
/* Updated: 2025/07/29 12:01:33 by tchampio ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "consts.h"
|
|
#include <math.h>
|
|
|
|
const float g_north = M_PI;
|
|
const float g_south = 0;
|
|
const float g_east = M_PI / 2;
|
|
const float g_west = 3 * M_PI / 2;
|
|
const float g_northwest = 5 * M_PI / 4;
|
|
const float g_northeast = 3 * M_PI / 4;
|
|
const float g_southwest = 7 * M_PI / 4;
|
|
const float g_southeast = M_PI / 4;
|