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
@@ -102,8 +102,8 @@ inline CVertIndex CDispInfo::IndexToVert( int index ) const
void CDispInfo::UpdateBoundingBox()
{
m_BBoxMin.Init( 1e16, 1e16, 1e16 );
m_BBoxMax.Init( -1e16, -1e16, -1e16 );
m_BBoxMin.Init( 1e24, 1e24, 1e24 );
m_BBoxMax.Init( -1e24, -1e24, -1e24 );
for( int i=0; i < NumVerts(); i++ )
{