mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
I forgot to test OpenGL :slight_smile:
This commit is contained in:
parent
4c37c18385
commit
cce2ade8a5
1 changed files with 6 additions and 2 deletions
|
|
@ -652,10 +652,14 @@ static void HWR_RenderPlane(subsector_t *subsector, extrasubsector_t *xsub, bool
|
||||||
}\
|
}\
|
||||||
\
|
\
|
||||||
vert->x = (vx);\
|
vert->x = (vx);\
|
||||||
|
vert->y = height;\
|
||||||
vert->z = (vy);\
|
vert->z = (vy);\
|
||||||
\
|
\
|
||||||
fixedheight = P_GetZAt(slope, FLOAT_TO_FIXED((vx)), FLOAT_TO_FIXED((vy)), height);\
|
if (slope)\
|
||||||
|
{\
|
||||||
|
fixedheight = P_GetSlopeZAt(slope, FLOAT_TO_FIXED((vx)), FLOAT_TO_FIXED((vy)));\
|
||||||
vert->y = FIXED_TO_FLOAT(fixedheight);\
|
vert->y = FIXED_TO_FLOAT(fixedheight);\
|
||||||
|
}\
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0, v3d = planeVerts; i < nrPlaneVerts; i++,v3d++,pv++)
|
for (i = 0, v3d = planeVerts; i < nrPlaneVerts; i++,v3d++,pv++)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue