mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-11-20 09:29:44 +00:00
upgrade entities frustum culling
This commit is contained in:
parent
414a0947ab
commit
c21871c3c9
9 changed files with 206 additions and 63 deletions
|
|
@ -187,6 +187,7 @@ model::Model ModelsGenerator::fromCustom(
|
|||
mesh.vertices.push_back({v2, glm::vec2(reg.u2, reg.v2), norm});
|
||||
mesh.vertices.push_back({v3, glm::vec2(reg.u1, reg.v2), norm});
|
||||
}
|
||||
model.calcBounds();
|
||||
return model;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue