mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2025-02-15 20:12:00 +01:00
Also apply variant-rotation to the color-calculation. Fixes: #354
This commit is contained in:
parent
6c18fde7b0
commit
6213137894
@ -321,6 +321,7 @@ private void createElementFace(Element element, Direction faceDir, VectorM3f c0,
|
||||
);
|
||||
makeRotationRelative(faceRotationVector);
|
||||
faceRotationVector.rotateAndScale(element.getRotation().getMatrix());
|
||||
if (variant.isRotated()) faceRotationVector.transform(variant.getRotationMatrix());
|
||||
|
||||
float a = faceRotationVector.y;
|
||||
if (a > 0 && texturePath != null){
|
||||
|
Loading…
Reference in New Issue
Block a user