X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=common.h;h=a36dc0a2460528ff70aad8c2fb1d9d7da0d9fd3e;hb=5ecf9cca8b5b9bf876d7e7c7fde03d5b187bb42b;hp=d0f4c078529f1b19baedaaaeb5580556ddedf97a;hpb=d00b1df8f80e4714dc2f9aa2189d242bb4d09a2f;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/common.h b/common.h index d0f4c07..a36dc0a 100644 --- a/common.h +++ b/common.h @@ -5,12 +5,11 @@ #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; - typedef struct ray_hit ray_hit; struct ray_hit {