diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-01-18 02:08:01 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-01-18 02:08:01 +0000 |
commit | 627aa88ad2559f41d5be62d36cdbf536a97e4246 (patch) | |
tree | 0e98c2e9c39db6ecc88ecf1914af608241d7c18e /gfx/gl | |
parent | Helpers can be static (diff) | |
download | ilt-627aa88ad2559f41d5be62d36cdbf536a97e4246.tar.bz2 ilt-627aa88ad2559f41d5be62d36cdbf536a97e4246.tar.xz ilt-627aa88ad2559f41d5be62d36cdbf536a97e4246.zip |
Factor to support worlds, objects, windows etc
Diffstat (limited to 'gfx/gl')
-rw-r--r-- | gfx/gl/transform.h | 6 |
1 files changed, 6 insertions, 0 deletions
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()
{
|