diff --git a/src/game/game.h b/src/game/game.h index d454b98..c65872b 100644 --- a/src/game/game.h +++ b/src/game/game.h @@ -1,9 +1,15 @@ #pragma once -#include +#include #include "gametime.h" +// constants for pi(π) and tau(τ) +#define PI (M_PI) // π constant +#define TAU (M_PI * 2.0) // τ constant +#define PIf (M_PIf) // +#define TAUf (M_PIf * 2.0F) // + typedef struct { gametime time; } gamedata; diff --git a/src/util/gen/dynarr.h b/src/util/gen/dynarr.h index 49e76fb..15a09ea 100644 --- a/src/util/gen/dynarr.h +++ b/src/util/gen/dynarr.h @@ -1,13 +1,13 @@ #ifndef DYNARR_H #define DYNARR_H #include -#include #define DYNARR_COMB2(a, b) a##b #define DYNARR_COMB1(a, b) DYNARR_COMB2(a, b) #endif // DYNARR_H #ifdef DYNARR_TYPE +#include #include #include