X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=common.h;h=7823e1a7e122141245eeacb20e6411e8cef0c410;hb=7b1e8a237acc3121c86fab9b5946da6a8d3bf6c4;hp=d0f4c078529f1b19baedaaaeb5580556ddedf97a;hpb=d00b1df8f80e4714dc2f9aa2189d242bb4d09a2f;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/common.h b/common.h index d0f4c07..7823e1a 100644 --- a/common.h +++ b/common.h @@ -1,24 +1,14 @@ /* - * Copyright (C) 2021-2022 Mt.ZERO Software, Harry Godden - All Rights Reserved + * Copyright (C) 2021-2023 Mt.ZERO Software, Harry Godden - All Rights Reserved */ #ifndef COMMON_H #define COMMON_H +#define VG_TIMESTEP_FIXED (1.0/60.0) #define VG_3D -#define VG_FRAMEBUFFER_RESIZE 1 -#include "vg/vg.h" - -static float ktimestep = 1.0f/60.0f; +#define VG_GAME -typedef struct ray_hit ray_hit; -struct ray_hit -{ - float dist; - u32 *tri; - v3f pos, normal; -}; - -static int network_scores_updated = 0; +#include "vg/vg.h" #endif /* COMMON_H */