MCPcopy Create free account
hub / github.com/demoth/jake2 / RunDLights

Method RunDLights

client/src/main/java/jake2/client/CL_fx.java:235–248  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

233 * ===============
234 */
235 static void RunDLights() {
236 cdlight_t dl;
237
238 for (int i = 0; i < Defines.MAX_DLIGHTS; i++) {
239 dl = cl_dlights[i];
240 if (dl.radius == 0.0f)
241 continue;
242
243 if (dl.die < ClientGlobals.cl.time) {
244 dl.radius = 0.0f;
245 return;
246 }
247 }
248 }
249
250 // stack variable
251 private static final float[] fv = {0, 0, 0};

Callers 1

FrameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected