Move r_portal into a class
This commit is contained in:
parent
c2d01522f0
commit
e806b9424c
16 changed files with 179 additions and 144 deletions
|
|
@ -93,7 +93,8 @@ namespace swrenderer
|
|||
ystep = -sin(planeang) / FocalLengthX;
|
||||
|
||||
// [RH] flip for mirrors
|
||||
if (MirrorFlags & RF_XFLIP)
|
||||
RenderPortal *renderportal = RenderPortal::Instance();
|
||||
if (renderportal->MirrorFlags & RF_XFLIP)
|
||||
{
|
||||
xstep = -xstep;
|
||||
ystep = -ystep;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue