Renderer floatification: Use floating point for wall scale and yrepeat

This commit is contained in:
Randy Heit 2016-04-22 22:54:04 -05:00
commit f1b3f59bcc
10 changed files with 115 additions and 122 deletions

View file

@ -383,7 +383,7 @@ void R_SWRSetWindow(int windowSize, int fullWidth, int fullHeight, int stHeight,
IYaspectMul = (double)virtwidth * r_Yaspect / 320.0 / virtheight;
InvZtoScale = YaspectMul * CenterX;
WallTMapScale2 = IYaspectMul * (1 << 18) / CenterX;
WallTMapScale2 = IYaspectMul / CenterX;
// psprite scales
pspritexscale = centerxwide / 160.0;