mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Fix mdpivxoff and mdpivyoff commands
Thanks to LeoD. git-svn-id: https://svn.eduke32.com/eduke32@8643 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
64a34f8af7
commit
dc2d6a098e
1 changed files with 1 additions and 1 deletions
|
@ -1625,7 +1625,7 @@ static int32_t polymost_md3draw(md3model_t *m, tspriteptr_t tspr)
|
||||||
// PLAG: Cleaner model rotation code
|
// PLAG: Cleaner model rotation code
|
||||||
if (sext->pitch || sext->roll)
|
if (sext->pitch || sext->roll)
|
||||||
{
|
{
|
||||||
float f = 1.f/(fxdimen * fviewingrange) * (256.f/(65536.f*128.f)) * (m0.x+m1.x);
|
float f = 1.f/((fxdimen * fviewingrange) * (256.f/(65536.f*128.f)) * (m0.x+m1.x));
|
||||||
Bmemset(&a0, 0, sizeof(a0));
|
Bmemset(&a0, 0, sizeof(a0));
|
||||||
|
|
||||||
if (sext->pivot_offset.x)
|
if (sext->pivot_offset.x)
|
||||||
|
|
Loading…
Reference in a new issue