physics: fix a lot of problems

This commit is contained in:
nillerusr
2021-10-23 14:41:59 +03:00
parent cb04a1e451
commit dc2be1dcb4
31 changed files with 104 additions and 54 deletions
+2 -2
View File
@@ -122,8 +122,8 @@ struct portalclip_t
static inline bool GetPortalScreenExtents( dareaportal_t *pPortal,
portalclip_t * RESTRICT clip, CPortalRect &portalRect , float *pReflectionWaterHeight )
{
portalRect.left = portalRect.bottom = 1e16;
portalRect.right = portalRect.top = -1e16;
portalRect.left = portalRect.bottom = 1e24;
portalRect.right = portalRect.top = -1e24;
bool bValidExtents = false;
worldbrushdata_t *pBrushData = host_state.worldbrush;