mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-27 17:28:41 +00:00
Tool specific pointing and blocking pointable type (#13992)
This commit is contained in:
parent
fb461d21a5
commit
5958714309
39 changed files with 676 additions and 67 deletions
|
@ -25,6 +25,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
|||
#include <iostream>
|
||||
#include <map>
|
||||
#include <vector>
|
||||
#include "util/pointabilities.h"
|
||||
|
||||
struct ObjectProperties
|
||||
{
|
||||
|
@ -36,7 +37,7 @@ struct ObjectProperties
|
|||
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;
|
||||
PointabilityType pointable = PointabilityType::POINTABLE;
|
||||
std::string visual = "sprite";
|
||||
std::string mesh = "";
|
||||
v3f visual_size = v3f(1, 1, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue