From f4a7739a40c095e0c837d78d00f13a1ef47d3a11 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sat, 25 Nov 2023 17:05:01 -0700 Subject: cube foo init --- inc/model_instance.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'inc/model_instance.hpp') diff --git a/inc/model_instance.hpp b/inc/model_instance.hpp index a8bbee0..059d3a5 100644 --- a/inc/model_instance.hpp +++ b/inc/model_instance.hpp @@ -8,10 +8,14 @@ class ModelInstance : Renderable { private: FIXED m_scale; - VECTOR m_rotation; + VECTOR m_rotation; // though technically "FIXED"'s, these are simply s32's + // where [0, 2pi] -> [0, 0xFFFF] in the x,y,z axes VECTOR m_pos; std::shared_ptr m_mesh; + +public: + void render(std::shared_ptr scene_context); }; #endif // MODEL_INSTANCE_HPP -- cgit v1.2.3-70-g09d2