whiteline checkup

This commit is contained in:
Alam Ed Arias 2014-11-01 23:52:17 -04:00
parent 21edc49ea4
commit aa612bcf91

View file

@ -2791,7 +2791,7 @@ static void HWR_RenderPolyObjectPlane(polyobj_t *polysector, fixed_t fixedheight
static void HWR_AddPolyObjectPlanes(void) static void HWR_AddPolyObjectPlanes(void)
{ {
size_t i; size_t i;
sector_t *polyobjsector; sector_t *polyobjsector;
// Polyobject Planes need their own function for drawing because they don't have extrasubsectors by themselves // Polyobject Planes need their own function for drawing because they don't have extrasubsectors by themselves
// It should be okay because polyobjects should always be convex anyway // It should be okay because polyobjects should always be convex anyway
@ -4829,7 +4829,7 @@ static void HWR_DrawSkyBackground(player_t *player)
// Y // Y
angle = aimingangle; angle = aimingangle;
float aspectratio = (float)vid.width/(float)vid.height; float aspectratio = (float)vid.width/(float)vid.height;
dimensionmultiply = ((float)textures[skytexture]->height/(128.0f*aspectratio)); dimensionmultiply = ((float)textures[skytexture]->height/(128.0f*aspectratio));
float angleturn = (((float)ANGLE_45-1.0f)*aspectratio)*dimensionmultiply; float angleturn = (((float)ANGLE_45-1.0f)*aspectratio)*dimensionmultiply;