positive Z is pointing from viewer
This commit is contained in:
parent
9744269ac6
commit
a161549392
@ -257,7 +257,7 @@ fun Font.draw(
|
||||
rounding: GravityRounding = if (scale == 1f) GravityRounding.DEFAULT else GravityRounding.NO,
|
||||
drawOutline: Boolean = false,
|
||||
outlineColor: RGBAColor = RGBAColor.BLACK,
|
||||
outlineZ: Float = -0.1f,
|
||||
outlineZ: Float = 0.1f,
|
||||
): Float {
|
||||
return drawInternal(
|
||||
poseStack = poseStack,
|
||||
@ -305,7 +305,7 @@ fun Font.draw(
|
||||
rounding: GravityRounding = if (scale == 1f) GravityRounding.DEFAULT else GravityRounding.NO,
|
||||
drawOutline: Boolean = false,
|
||||
outlineColor: RGBAColor = RGBAColor.BLACK,
|
||||
outlineZ: Float = -0.1f,
|
||||
outlineZ: Float = 0.1f,
|
||||
): Float {
|
||||
return drawInternal(
|
||||
poseStack = poseStack,
|
||||
@ -352,7 +352,7 @@ fun GuiGraphics.draw(
|
||||
rounding: GravityRounding = if (scale == 1f) GravityRounding.DEFAULT else GravityRounding.NO,
|
||||
drawOutline: Boolean = false,
|
||||
outlineColor: RGBAColor = RGBAColor.BLACK,
|
||||
outlineZ: Float = -0.1f,
|
||||
outlineZ: Float = 0.1f,
|
||||
): Float {
|
||||
val width = font.draw(
|
||||
poseStack = pose(),
|
||||
@ -402,7 +402,7 @@ fun GuiGraphics.draw(
|
||||
rounding: GravityRounding = if (scale == 1f) GravityRounding.DEFAULT else GravityRounding.NO,
|
||||
drawOutline: Boolean = false,
|
||||
outlineColor: RGBAColor = RGBAColor.BLACK,
|
||||
outlineZ: Float = -0.1f,
|
||||
outlineZ: Float = 0.1f,
|
||||
): Float {
|
||||
val width = font.draw(
|
||||
poseStack = pose(),
|
||||
|
Loading…
Reference in New Issue
Block a user