diff options
author | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-18 14:43:41 +0100 |
---|---|---|
committer | WBoerenkamps <wrj.boerenkamps@student.avans.nl> | 2024-12-18 14:43:41 +0100 |
commit | 45c799f71e6f0db1de27bdd601c0d441f0012468 (patch) | |
tree | e776e6455f1499d643f8f282c9b2c60b0af69d07 /src/crepe/api/UIObject.h | |
parent | 81404db80bbf9463c3d535ae389e7fbb753a902c (diff) |
camera space working
Diffstat (limited to 'src/crepe/api/UIObject.h')
-rw-r--r-- | src/crepe/api/UIObject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/crepe/api/UIObject.h b/src/crepe/api/UIObject.h index f7f4fba..f1318ab 100644 --- a/src/crepe/api/UIObject.h +++ b/src/crepe/api/UIObject.h @@ -20,6 +20,8 @@ public: vec2 dimensions; //! Position offset relative to this GameObjects Transform vec2 offset; + //! variable indicating if transform is relative to camera(false) or world(true) + bool world_space = false; }; } // namespace crepe |