Added lights for laser turret projectiles

This commit is contained in:
Anuken
2020-04-24 09:50:40 -04:00
parent eeb88df5f6
commit 018fe5dea2
6 changed files with 24 additions and 3 deletions

View File

@@ -537,6 +537,10 @@ public class Bullets implements ContentList{
Lines.lineAngle(b.x() + Tmp.v1.x, b.y() + Tmp.v1.y, b.rotation(), baseLen * lenscales[i], CapStyle.none);
}
}
Tmp.v1.trns(b.rotation(), baseLen * 1.1f);
renderer.lights.line(b.x(), b.y(), b.x() + Tmp.v1.x, b.y() + Tmp.v1.y, 40, Color.orange, 0.7f);
Draw.reset();
}
};