mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-02-26 20:04:41 +01:00
Fixed LineOutlines rendering incorrectly
This commit is contained in:
parent
da35b6cd63
commit
85a53f6966
1 changed files with 3 additions and 1 deletions
|
@ -56,9 +56,11 @@ public abstract class Outline {
|
||||||
|
|
||||||
poseStack.pushPose();
|
poseStack.pushPose();
|
||||||
TransformStack.cast(poseStack)
|
TransformStack.cast(poseStack)
|
||||||
|
.translate(start)
|
||||||
.rotateY(hAngle)
|
.rotateY(hAngle)
|
||||||
.rotateX(vAngle);
|
.rotateX(vAngle);
|
||||||
bufferCuboidLine(poseStack.last(), consumer, start, Direction.NORTH, length, width, color, lightmap, disableNormals);
|
bufferCuboidLine(poseStack.last(), consumer, Vector3f.ZERO, Direction.SOUTH, length, width, color, lightmap,
|
||||||
|
disableNormals);
|
||||||
poseStack.popPose();
|
poseStack.popPose();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue