From ebc517c800a90f6f0ed157e5c3bd7c3bd18165b5 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Fri, 24 Nov 2023 18:19:42 -0700 Subject: base 3d uml setup --- inc/model_instance.hpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 inc/model_instance.hpp (limited to 'inc/model_instance.hpp') 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 + +class ModelInstance : Renderable { +private: + FIXED m_scale; + VECTOR m_rotation; + VECTOR m_pos; + + std::shared_ptr m_mesh; +}; + +#endif // MODEL_INSTANCE_HPP -- cgit v1.2.3-70-g09d2