mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
fix
This commit is contained in:
parent
b2735d8068
commit
eb94127cb6
6 changed files with 201 additions and 73 deletions
|
|
@ -231,7 +231,7 @@ void BlocksRenderer::blockCube(int x, int y, int z,
|
|||
vec3 coord(x, y, z);
|
||||
if (block->rotatable) {
|
||||
auto& rotations = block->rotations;
|
||||
auto& orient = rotations.variants[states & BLOCK_ROT_MASK];
|
||||
auto& orient = rotations.variants[states & BLOCK_DIR_MASK];
|
||||
X = orient.axisX;
|
||||
Y = orient.axisY;
|
||||
Z = orient.axisZ;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue