aboutsummaryrefslogtreecommitdiff
path: root/src/object_properties.h
diff options
context:
space:
mode:
authorLars Müller <34514239+appgurueu@users.noreply.github.com>2022-10-30 16:53:14 +0100
committerGitHub <noreply@github.com>2022-10-30 16:53:14 +0100
commit077627181ee2eac3c0dacc3d8dc49825837e474c (patch)
treea8a6298198738f2edb30bd7e733a7a0d2005affa /src/object_properties.h
parentb8292319924994352d56d6111faa73fe315d149a (diff)
downloadminetest-077627181ee2eac3c0dacc3d8dc49825837e474c.tar.xz
Allow rotating entity selectionboxes (#12379)
Diffstat (limited to 'src/object_properties.h')
-rw-r--r--src/object_properties.h1
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 = "";