mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 19:20:46 +00:00
Formatting
git-svn-id: https://svn.eduke32.com/eduke32@6790 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
136dd514e1
commit
fbf1d6ae08
1 changed files with 7 additions and 6 deletions
|
@ -908,8 +908,9 @@ void G_DrawRooms(int32_t playerNum, int32_t smoothRatio)
|
||||||
pPlayer->opos.z + mulscale16(pPlayer->pos.z - pPlayer->opos.z, smoothRatio) };
|
pPlayer->opos.z + mulscale16(pPlayer->pos.z - pPlayer->opos.z, smoothRatio) };
|
||||||
|
|
||||||
CAMERA(pos) = camVect;
|
CAMERA(pos) = camVect;
|
||||||
CAMERA(q16ang) = pPlayer->oq16ang + mulscale16(((pPlayer->q16ang + F16(1024) - pPlayer->oq16ang) & 0x7FFFFFF) - F16(1024), smoothRatio);
|
CAMERA(q16ang) = pPlayer->oq16ang
|
||||||
CAMERA(q16ang) += fix16_from_int(pPlayer->look_ang);
|
+ mulscale16(((pPlayer->q16ang + F16(1024) - pPlayer->oq16ang) & 0x7FFFFFF) - F16(1024), smoothRatio)
|
||||||
|
+ fix16_from_int(pPlayer->look_ang);
|
||||||
CAMERA(q16horiz) = pPlayer->oq16horiz + pPlayer->oq16horizoff
|
CAMERA(q16horiz) = pPlayer->oq16horiz + pPlayer->oq16horizoff
|
||||||
+ mulscale16((pPlayer->q16horiz + pPlayer->q16horizoff - pPlayer->oq16horiz - pPlayer->oq16horizoff), smoothRatio);
|
+ mulscale16((pPlayer->q16horiz + pPlayer->q16horizoff - pPlayer->oq16horiz - pPlayer->oq16horizoff), smoothRatio);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue