From f785f17cdb286449e8d98be747213740172629c5 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Sun, 22 Oct 2017 16:45:57 -0400 Subject: removed random gen, indoor changes --- src/systems/light.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/systems') diff --git a/src/systems/light.cpp b/src/systems/light.cpp index 361099d..51a6702 100644 --- a/src/systems/light.cpp +++ b/src/systems/light.cpp @@ -26,7 +26,7 @@ void LightSystem::render(void) { unsigned int offset = 0; for (const auto& l : lights) { coords[offset] = l.pos.x, coords[offset + 1] = l.pos.y, - coords[offset + 2] = 0, coords[offset + 3] = l.radius; + coords[offset + 2] = -5, coords[offset + 3] = l.radius; colors[offset] = l.color.red, colors[offset + 1] = l.color.green, colors[offset + 2] = l.color.blue, colors[offset + 3] = 1.0f; offset += 4; -- cgit v1.2.3