Minor cleanup.

This commit is contained in:
Ragnvald Maartmann-Moe IV 2001-10-05 18:55:40 +00:00
parent b2d8d0f598
commit 72b198d650

View file

@ -200,13 +200,11 @@ EmitWaterPolys (msurface_t *fa)
os = v[3];
ot = v[4];
s = os + turbsin[(int) ((ot * 0.125 + r_realtime) * TURBSCALE) &
255];
s *= (1.0 / 64.0);
s = (os + turbsin[(int) ((ot * 0.125 + r_realtime) * TURBSCALE) &
255]) * (1.0 / 64.0);
t = ot + turbsin[(int) ((os * 0.125 + r_realtime) * TURBSCALE) &
255];
t *= (1.0 / 64.0);
t = (ot + turbsin[(int) ((os * 0.125 + r_realtime) * TURBSCALE) &
255]) * (1.0 / 64.0);
qfglTexCoord2f (s, t);
@ -215,8 +213,7 @@ EmitWaterPolys (msurface_t *fa)
* turbsin[(int) ((v[3] * 0.125 + r_realtime) * TURBSCALE) &
255]
* turbsin[(int) ((v[4] * 0.125 + r_realtime) * TURBSCALE) &
255]
* (1.0 / 64.0);
255] * (1.0 / 64.0);
qfglVertex3fv (nv);
}