From 531ca89792550bf84a20f5a57483987d6fc76782 Mon Sep 17 00:00:00 2001 From: Holger Zickner Date: Fri, 9 Jul 2004 16:44:01 +0000 Subject: moving out mid was to optimistic --- src/jake2/render/fastjogl/Light.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/jake2') diff --git a/src/jake2/render/fastjogl/Light.java b/src/jake2/render/fastjogl/Light.java index 9f85766..298a3db 100644 --- a/src/jake2/render/fastjogl/Light.java +++ b/src/jake2/render/fastjogl/Light.java @@ -2,7 +2,7 @@ * Light.java * Copyright (C) 2003 * - * $Id: Light.java,v 1.2 2004-07-09 10:24:32 hzi Exp $ + * $Id: Light.java,v 1.3 2004-07-09 16:44:01 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -222,7 +222,6 @@ public abstract class Light extends Warp { float[] pointcolor = {0, 0, 0}; // vec3_t cplane_t lightplane; // used as shadow plane float[] lightspot = {0, 0, 0}; // vec3_t - float[] mid = {0, 0, 0}; // TODO sync with jogl renderer. hoz int RecursiveLightPoint (mnode_t node, float[] start, float[] end) @@ -238,7 +237,8 @@ public abstract class Light extends Warp { ByteBuffer lightmap; int maps; int r; - + float[] mid = {0, 0, 0}; + if (node.contents != -1) return -1; // didn't hit anything -- cgit v1.2.3