diff options
author | Holger Zickner <[email protected]> | 2004-07-09 16:44:01 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-07-09 16:44:01 +0000 |
commit | 531ca89792550bf84a20f5a57483987d6fc76782 (patch) | |
tree | 2150b87f54ed3b74eb8b3aa30e908ad5da15f676 | |
parent | bd16aab44f7774f6127702cfa036407462b5a0ba (diff) |
moving out mid was to optimistic
-rw-r--r-- | src/jake2/render/fastjogl/Light.java | 6 |
1 files changed, 3 insertions, 3 deletions
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 |