mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
whiteline checkup
This commit is contained in:
parent
21edc49ea4
commit
aa612bcf91
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue