- adjusted function names.

This commit is contained in:
Christoph Oelckers 2016-04-23 13:48:25 +02:00
parent bf36900299
commit 9d9219795a

View file

@ -84,11 +84,11 @@ struct GLSectorPlane
void GetFromSector(sector_t * sec, int ceiling)
{
Offs.X = (float)sec->GetXOffsetF(ceiling);
Offs.Y = (float)sec->GetYOffsetF(ceiling);
Scale.X = (float)sec->GetXScaleF(ceiling);
Scale.Y = (float)sec->GetYScaleF(ceiling);
Angle = (float)sec->GetAngleF(ceiling).Degrees;
Offs.X = (float)sec->GetXOffset(ceiling);
Offs.Y = (float)sec->GetYOffset(ceiling);
Scale.X = (float)sec->GetXScale(ceiling);
Scale.Y = (float)sec->GetYScale(ceiling);
Angle = (float)sec->GetAngle(ceiling).Degrees;
texture = sec->GetTexture(ceiling);
plane = sec->GetSecPlane(ceiling);
Texheight = (float)((ceiling == sector_t::ceiling)? plane.fD() : -plane.fD());