mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-18 14:34:04 +09:00
debug info for upcoming wires
This commit is contained in:
@@ -215,6 +215,9 @@ internal object BlocksDrawer {
|
||||
renderUsingBuffer(FLUID, projectionMatrix)
|
||||
}
|
||||
|
||||
var drawWires = 0
|
||||
private set
|
||||
|
||||
internal fun drawFront(projectionMatrix: Matrix4, drawWires: Int) {
|
||||
// blend mul
|
||||
Gdx.gl.glEnable(GL20.GL_TEXTURE_2D)
|
||||
@@ -228,8 +231,9 @@ internal object BlocksDrawer {
|
||||
|
||||
gdxSetBlendNormal()
|
||||
|
||||
this.drawWires = drawWires
|
||||
if (drawWires != 0) {
|
||||
//println("drawing wires")
|
||||
//println("Wires! draw: $drawWires") // use F10 instead
|
||||
renderUsingBuffer(WIRE, projectionMatrix)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user