From 627aa88ad2559f41d5be62d36cdbf536a97e4246 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 18 Jan 2021 02:08:01 +0000 Subject: Factor to support worlds, objects, windows etc --- gfx/gl/transform.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gfx/gl/transform.h') diff --git a/gfx/gl/transform.h b/gfx/gl/transform.h index 07040ae..70fe38f 100644 --- a/gfx/gl/transform.h +++ b/gfx/gl/transform.h @@ -19,6 +19,12 @@ public: return pos; } + [[nodiscard]] inline const glm::vec3 & + GetPos() const + { + return pos; + } + [[nodiscard]] inline glm::vec3 & GetRot() { -- cgit v1.2.3