mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
feat: new block custom models implementation (WIP)
This commit is contained in:
parent
c95c97430a
commit
5e0bcf8ec0
14 changed files with 189 additions and 149 deletions
|
|
@ -36,7 +36,7 @@ void Mesh::addPlane(
|
|||
|
||||
vertices.push_back({pos-right-up, {uv.u1, uv.v1}, norm});
|
||||
vertices.push_back({pos+right+up, {uv.u2, uv.v2}, norm});
|
||||
vertices.push_back({pos-right+up, {uv.u1, uv.u2}, norm});
|
||||
vertices.push_back({pos-right+up, {uv.u1, uv.v2}, norm});
|
||||
}
|
||||
|
||||
void Mesh::addBox(const glm::vec3& pos, const glm::vec3& size) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue