diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2017-10-22 16:45:57 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2017-10-22 16:45:57 -0400 |
commit | f785f17cdb286449e8d98be747213740172629c5 (patch) | |
tree | 836d9601046f20737d2c27c35c673318adfc2f88 /src/systems/light.cpp | |
parent | b64aa31b4dc0c5e050c4978bae7bd43a040a368b (diff) |
removed random gen, indoor changes
Diffstat (limited to 'src/systems/light.cpp')
-rw-r--r-- | src/systems/light.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |