summaryrefslogtreecommitdiff
path: root/inc/model_instance.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'inc/model_instance.hpp')
-rw-r--r--inc/model_instance.hpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/inc/model_instance.hpp b/inc/model_instance.hpp
new file mode 100644
index 0000000..a8bbee0
--- /dev/null
+++ b/inc/model_instance.hpp
@@ -0,0 +1,17 @@
+#ifndef MODEL_INSTANCE_HPP
+#define MODEL_INSTANCE_HPP
+
+#include "mesh.hpp"
+#include "renderable.hpp"
+#include <tonc.h>
+
+class ModelInstance : Renderable {
+private:
+ FIXED m_scale;
+ VECTOR m_rotation;
+ VECTOR m_pos;
+
+ std::shared_ptr<Mesh> m_mesh;
+};
+
+#endif // MODEL_INSTANCE_HPP