diff options
Diffstat (limited to 'gfx-iso/app/app.h')
| -rw-r--r-- | gfx-iso/app/app.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gfx-iso/app/app.h b/gfx-iso/app/app.h new file mode 100644 index 0000000..160da47 --- /dev/null +++ b/gfx-iso/app/app.h | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | typedef struct IsoGfx IsoGfx; | ||
| 4 | typedef struct IsoGfxApp IsoGfxApp; | ||
| 5 | |||
| 6 | typedef struct IsoGfxApp { | ||
| 7 | void* state; | ||
| 8 | void (*shutdown)(IsoGfx*, void* state); | ||
| 9 | void (*update)(IsoGfx*, void* state, double t, double dt); | ||
| 10 | void (*render)(IsoGfx*, void* state); | ||
| 11 | } IsoGfxApp; | ||
