fix: title screen camera debug view is flipped

This commit is contained in:
minjaesong
2024-02-07 17:31:53 +09:00
parent 316bfbcc08
commit ff15a3a8cf

View File

@@ -335,8 +335,8 @@ class TitleScreen(batch: FlippingSpriteBatch) : IngameInstance(batch) {
private fun drawLineOnWorld(x1: Float, y1: Float, x2: Float, y2: Float) {
val w = 2.0f
App.shapeRender.rectLine(
x1 - WorldCamera.x, App.scr.height - (y1 - WorldCamera.y),
x2 - WorldCamera.x, App.scr.height - (y2 - WorldCamera.y),
x1 - WorldCamera.x, y1 - WorldCamera.y,
x2 - WorldCamera.x, y2 - WorldCamera.y,
w
)
}