From d51f188c130667c44c44371c2e258cb0e29f3505 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 25 Jan 2021 00:55:43 +0000 Subject: Split physical objects from renderable ones --- gfx/renderable.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 gfx/renderable.h (limited to 'gfx') 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 -- cgit v1.2.3