- floatified the global view variables.

The software renderer still uses internal copies of the fixed point version.
This commit is contained in:
Christoph Oelckers 2016-04-01 12:22:16 +02:00
commit 8680391e0b
14 changed files with 142 additions and 168 deletions

View file

@ -1953,13 +1953,13 @@ void AM_drawSubsectors()
double secx;
double secy;
double seczb, seczt;
double cmpz = FIXED2DBL(viewz);
double cmpz = ViewPos.Z;
if (players[consoleplayer].camera && sec == players[consoleplayer].camera->Sector)
{
// For the actual camera sector use the current viewpoint as reference.
secx = FIXED2DBL(viewx);
secy = FIXED2DBL(viewy);
secx = ViewPos.X;
secy = ViewPos.Y;
}
else
{