X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=common.h;h=6f0c2f966e705b17d908534f9a41f9829599bb2c;hb=494c85703c76c4123c49937a32584840b6be1470;hp=21251546e00336095bbc8b857d3e17d77e4093c4;hpb=9c85e110fa8b965195438d96625ff9753af362a6;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/common.h b/common.h index 2125154..6f0c2f9 100644 --- a/common.h +++ b/common.h @@ -1,30 +1,8 @@ +/* + * Copyright (C) 2021-2023 Mt.ZERO Software, Harry Godden - All Rights Reserved + */ + #ifndef COMMON_H #define COMMON_H -#define VG_3D -#define VG_FRAMEBUFFER_RESIZE 1 -#include "vg/vg.h" - -/* TODO: he needs a home somewhere */ -static float ktimestep = 1.0f/60.0f; - -/* TODO: he needs a home somewhere */ -enum classtype -{ - k_classtype_none = 0, - k_classtype_gate = 1, - k_classtype_block = 2, - k_classtype_spawn = 3, - k_classtype_water = 4 -}; - -/* TODO: he needs a home somewhere */ -typedef struct ray_hit ray_hit; -struct ray_hit -{ - float dist; - u32 *tri; - v3f pos, normal; -}; - #endif /* COMMON_H */