summaryrefslogtreecommitdiff
path: root/gfx-iso/app/app.h
blob: 160da4752cd115b5f794578ff0b635849abb49e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

typedef struct IsoGfx    IsoGfx;
typedef struct IsoGfxApp IsoGfxApp;

typedef struct IsoGfxApp {
  void* state;
  void (*shutdown)(IsoGfx*, void* state);
  void (*update)(IsoGfx*, void* state, double t, double dt);
  void (*render)(IsoGfx*, void* state);
} IsoGfxApp;