diff options
author | Lars Müller <34514239+appgurueu@users.noreply.github.com> | 2022-10-30 16:53:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-30 16:53:14 +0100 |
commit | 077627181ee2eac3c0dacc3d8dc49825837e474c (patch) | |
tree | a8a6298198738f2edb30bd7e733a7a0d2005affa /src/object_properties.h | |
parent | b8292319924994352d56d6111faa73fe315d149a (diff) | |
download | minetest-077627181ee2eac3c0dacc3d8dc49825837e474c.tar.xz |
Allow rotating entity selectionboxes (#12379)
Diffstat (limited to 'src/object_properties.h')
-rw-r--r-- | src/object_properties.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/object_properties.h b/src/object_properties.h index 79866a22c..f4c425d7b 100644 --- a/src/object_properties.h +++ b/src/object_properties.h @@ -35,6 +35,7 @@ struct ObjectProperties // Values are BS=1 aabb3f collisionbox = aabb3f(-0.5f, -0.5f, -0.5f, 0.5f, 0.5f, 0.5f); aabb3f selectionbox = aabb3f(-0.5f, -0.5f, -0.5f, 0.5f, 0.5f, 0.5f); + bool rotate_selectionbox = false; bool pointable = true; std::string visual = "sprite"; std::string mesh = ""; |