mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix block.get_hitbox again
This commit is contained in:
parent
effdac2d4d
commit
edad594101
1 changed files with 2 additions and 0 deletions
|
|
@ -44,6 +44,8 @@ std::unique_ptr<Content> ContentBuilder::build() {
|
|||
def.rt.hitboxes[i].push_back(aabb);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
def.rt.hitboxes->emplace_back(AABB(glm::vec3(1.0f)));
|
||||
}
|
||||
|
||||
blockDefsIndices.push_back(&def);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue