mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
Minor cleanup.
This commit is contained in:
parent
b2d8d0f598
commit
72b198d650
1 changed files with 5 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue