mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 04:51:49 +00:00
Block render fix
This commit is contained in:
parent
3033f4f767
commit
9fdc2abb4e
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ void BlocksRenderer::face(const vec3& coord, float w, float h,
|
||||||
vertex(coord + axisX * w, region.u2, region.v1, lights[1] * tint);
|
vertex(coord + axisX * w, region.u2, region.v1, lights[1] * tint);
|
||||||
vertex(coord + axisX * w + axisY * h, region.u2, region.v2, lights[2] * tint);
|
vertex(coord + axisX * w + axisY * h, region.u2, region.v2, lights[2] * tint);
|
||||||
vertex(coord + axisY * h, region.u1, region.v2, lights[3] * tint);
|
vertex(coord + axisY * h, region.u1, region.v2, lights[3] * tint);
|
||||||
index(0, 1, 3, 0, 2, 3);
|
index(0, 1, 3, 1, 2, 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
void BlocksRenderer::face(const vec3& coord, float w, float h,
|
void BlocksRenderer::face(const vec3& coord, float w, float h,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue