msvc build fix
This commit is contained in:
@@ -84,7 +84,7 @@ void Batch3D::face(const vec3& coord, float w, float h,
|
|||||||
const vec3& axisY,
|
const vec3& axisY,
|
||||||
const UVRegion& region,
|
const UVRegion& region,
|
||||||
const vec4& tint) {
|
const vec4& tint) {
|
||||||
if (index + VERTEX_SIZE * 4 > capacity) {
|
if (index + VERTEX_SIZE * 6 > capacity) {
|
||||||
flush();
|
flush();
|
||||||
}
|
}
|
||||||
vertex(coord, region.u1, region.v1,
|
vertex(coord, region.u1, region.v1,
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
Block::Block(std::string name)
|
Block::Block(std::string name)
|
||||||
: name(name),
|
: name(name),
|
||||||
textureFaces({"notfound","notfound","notfound",
|
textureFaces {"notfound","notfound","notfound",
|
||||||
"notfound","notfound","notfound",}) {
|
"notfound","notfound","notfound",} {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user