mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 22:41:49 +00:00
Fix #160 with suggestions from @A-lex-Ra
This commit is contained in:
parent
7ee0c672f0
commit
3edf065550
7 changed files with 63 additions and 82 deletions
|
|
@ -93,8 +93,7 @@ public:
|
|||
bool rotatable = false;
|
||||
bool grounded = false;
|
||||
bool hidden = false;
|
||||
AABB hitbox;
|
||||
bool hitboxExplicit = false;
|
||||
std::vector<AABB> hitboxes;
|
||||
BlockRotProfile rotations;
|
||||
std::string pickingItem = name+BLOCK_ITEM_SUFFIX;
|
||||
std::string scriptName = name.substr(name.find(':')+1);
|
||||
|
|
@ -105,8 +104,7 @@ public:
|
|||
blockid_t id;
|
||||
bool solid = true;
|
||||
bool emissive = false;
|
||||
AABB hitboxes[BlockRotProfile::MAX_COUNT];
|
||||
std::vector<AABB> modelBoxes[BlockRotProfile::MAX_COUNT];
|
||||
std::vector<AABB> hitboxes[BlockRotProfile::MAX_COUNT];
|
||||
block_funcs_set funcsset {};
|
||||
itemid_t pickingItem = 0;
|
||||
} rt;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue