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
@@ -770,8 +770,8 @@ void ClearNeighborData( CCoreDispInfo *pDisp )
void GetDispBox( CCoreDispInfo *pDisp, CDispBox &box )
{
// Calculate the bbox for this displacement.
Vector vMin( 1e16, 1e16, 1e16 );
Vector vMax( -1e16, -1e16, -1e16 );
Vector vMin( 1e24, 1e24, 1e24 );
Vector vMax( -1e24, -1e24, -1e24 );
for ( int iVert = 0; iVert < 4; ++iVert )
{