This commit is contained in:
alexei-zebra 2024-01-05 03:37:44 +03:00
parent b2735d8068
commit eb94127cb6
6 changed files with 201 additions and 73 deletions

View file

@ -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;