From b19813be176de98a4b730c47b2a4eac085b48446 Mon Sep 17 00:00:00 2001 From: Ketmar Dark Date: Sun, 17 Apr 2016 16:04:52 +0300 Subject: [PATCH] some code for light testing --- render.d | 2 ++ 1 file changed, 2 insertions(+) diff --git a/render.d b/render.d index 53609ba..a212f52 100644 --- a/render.d +++ b/render.d @@ -850,6 +850,7 @@ void renderScene (MonoTime curtime) { renderLight(280, 330, SVec4F(0.0f, 0.0f, 0.0f, 1.0f), 64); */ + foreach (; 0..1) { // attached lights foreach (ref li; attachedLights[0..attachedLightCount]) { if (li.type == AttachedLightInfo.Type.Ambient) { @@ -869,6 +870,7 @@ void renderScene (MonoTime curtime) { } } } + } { if (testLightMoved) { -- 2.11.4.GIT