From a3c1cfad9e6ec0cfe3fe100075d48b6f26b0624b Mon Sep 17 00:00:00 2001 From: yugecin Date: Thu, 25 Oct 2018 21:35:37 +0200 Subject: [PATCH] remove leftover code --- src/yugecin/opsudance/ReplayCursor.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/yugecin/opsudance/ReplayCursor.java b/src/yugecin/opsudance/ReplayCursor.java index fea210af..bc858dfb 100644 --- a/src/yugecin/opsudance/ReplayCursor.java +++ b/src/yugecin/opsudance/ReplayCursor.java @@ -79,7 +79,6 @@ public class ReplayCursor float txtwidth = txt.getWidth(); float txtheight = txt.getHeight(); GL11.glBegin(GL11.GL_QUADS); - final Point lastpoint = new Point(-1, -1); for (Trailpart p : trail) { alpha += alphaIncrease; GL11.glColor4f(filter.r, filter.g, filter.b, alpha); @@ -91,8 +90,6 @@ public class ReplayCursor GL11.glVertex3f(p.x + trailwidth2, p.y + trailheight2, 0f); GL11.glTexCoord2f(0f, txtheight); GL11.glVertex3f(p.x - trailwidth2, p.y + trailheight2, 0f); - lastpoint.x = p.x; - lastpoint.y = p.y; } GL11.glEnd();