diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-01-25 00:55:43 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-01-25 00:55:43 +0000 |
commit | d51f188c130667c44c44371c2e258cb0e29f3505 (patch) | |
tree | 3b1b3a691f53964e7530e30a3bdd23879235d27f /gfx | |
parent | Basic key controls to move the camera around (diff) | |
download | ilt-d51f188c130667c44c44371c2e258cb0e29f3505.tar.bz2 ilt-d51f188c130667c44c44371c2e258cb0e29f3505.tar.xz ilt-d51f188c130667c44c44371c2e258cb0e29f3505.zip |
Split physical objects from renderable ones
Diffstat (limited to 'gfx')
-rw-r--r-- | gfx/renderable.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gfx/renderable.h b/gfx/renderable.h new file mode 100644 index 0000000..e3a34dd --- /dev/null +++ b/gfx/renderable.h @@ -0,0 +1,11 @@ +#ifndef RENDERABLE_H +#define RENDERABLE_H + +class Shader; + +class Renderable { +public: + virtual void render(const Shader & shader) const = 0; +}; + +#endif |