1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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