diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-20 11:12:51 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-20 11:12:51 +0100 |
commit | 5c65e3e5662e261311a2a544d00a9eabbf632198 (patch) | |
tree | 9e9a71f6d2ab2e4f9e9ccfe101ad5256f9dde33c /src/crepe/api/UIObject.h | |
parent | 44741315c6d2df9bd6591c19ea189163e5c70add (diff) | |
parent | 31ffbbbab541760b0574c6e6819a99575c1ce8b1 (diff) |
Merge branch 'wouter/relative_ui' of github.com:lonkaars/crepe
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 |