mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-01 00:12:27 +00:00
- adjusted function names.
This commit is contained in:
parent
bf36900299
commit
9d9219795a
1 changed files with 5 additions and 5 deletions
|
@ -84,11 +84,11 @@ struct GLSectorPlane
|
||||||
|
|
||||||
void GetFromSector(sector_t * sec, int ceiling)
|
void GetFromSector(sector_t * sec, int ceiling)
|
||||||
{
|
{
|
||||||
Offs.X = (float)sec->GetXOffsetF(ceiling);
|
Offs.X = (float)sec->GetXOffset(ceiling);
|
||||||
Offs.Y = (float)sec->GetYOffsetF(ceiling);
|
Offs.Y = (float)sec->GetYOffset(ceiling);
|
||||||
Scale.X = (float)sec->GetXScaleF(ceiling);
|
Scale.X = (float)sec->GetXScale(ceiling);
|
||||||
Scale.Y = (float)sec->GetYScaleF(ceiling);
|
Scale.Y = (float)sec->GetYScale(ceiling);
|
||||||
Angle = (float)sec->GetAngleF(ceiling).Degrees;
|
Angle = (float)sec->GetAngle(ceiling).Degrees;
|
||||||
texture = sec->GetTexture(ceiling);
|
texture = sec->GetTexture(ceiling);
|
||||||
plane = sec->GetSecPlane(ceiling);
|
plane = sec->GetSecPlane(ceiling);
|
||||||
Texheight = (float)((ceiling == sector_t::ceiling)? plane.fD() : -plane.fD());
|
Texheight = (float)((ceiling == sector_t::ceiling)? plane.fD() : -plane.fD());
|
||||||
|
|
Loading…
Reference in a new issue