mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
msvc build fix
This commit is contained in:
parent
647662b0d3
commit
2ebaad6cb6
2 changed files with 3 additions and 3 deletions
|
|
@ -84,7 +84,7 @@ void Batch3D::face(const vec3& coord, float w, float h,
|
|||
const vec3& axisY,
|
||||
const UVRegion& region,
|
||||
const vec4& tint) {
|
||||
if (index + VERTEX_SIZE * 4 > capacity) {
|
||||
if (index + VERTEX_SIZE * 6 > capacity) {
|
||||
flush();
|
||||
}
|
||||
vertex(coord, region.u1, region.v1,
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
Block::Block(std::string name)
|
||||
: name(name),
|
||||
textureFaces({"notfound","notfound","notfound",
|
||||
"notfound","notfound","notfound",}) {
|
||||
textureFaces {"notfound","notfound","notfound",
|
||||
"notfound","notfound","notfound",} {
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue