mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
fix
This commit is contained in:
parent
c5f663b7cb
commit
47c6e35a0b
6 changed files with 54 additions and 48 deletions
|
|
@ -66,7 +66,7 @@ std::unique_ptr<Content> ContentBuilder::build() {
|
|||
if (def.rotatable) {
|
||||
for (uint i = 0; i < BlockRotProfile::MAX_COUNT; i++) {
|
||||
def.rt.hitboxes[i].reserve(def.hitboxes.size());
|
||||
for (AABB& aabb : def.hitboxes) {
|
||||
for (AABB aabb : def.hitboxes) {
|
||||
def.rotations.variants[i].transform(aabb);
|
||||
def.rt.hitboxes[i].push_back(aabb);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue