mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 09:49:36 +00:00
Replace 1e24 with 1e16 to avoid float overflow
This commit is contained in:
+2
-2
@@ -102,8 +102,8 @@ inline CVertIndex CDispInfo::IndexToVert( int index ) const
|
||||
|
||||
void CDispInfo::UpdateBoundingBox()
|
||||
{
|
||||
m_BBoxMin.Init( 1e24, 1e24, 1e24 );
|
||||
m_BBoxMax.Init( -1e24, -1e24, -1e24 );
|
||||
m_BBoxMin.Init( 1e16, 1e16, 1e16 );
|
||||
m_BBoxMax.Init( -1e16, -1e16, -1e16 );
|
||||
|
||||
for( int i=0; i < NumVerts(); i++ )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user