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
@@ -793,7 +793,7 @@ CDispInfo::CDispInfo()
m_pPowerInfo = NULL;
m_ViewerSphereCenter.Init( 1e16, 1e16, 1e16 );
m_ViewerSphereCenter.Init( 1e24, 1e24, 1e24 );
m_bInUse = false;
@@ -995,7 +995,7 @@ int FindNeighborCornerVert( CCoreDispInfo *pDisp, const Vector &vecPoint )
CDispUtilsHelper *pDispHelper = pDisp;
int iClosest = 0;
float flClosest = 1e16;
float flClosest = 1e24;
for ( int iCorner = 0; iCorner < 4; ++iCorner )
{