mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
Replace 1e24 with 1e16 to avoid float overflow
This commit is contained in:
@@ -770,8 +770,8 @@ void ClearNeighborData( CCoreDispInfo *pDisp )
|
||||
void GetDispBox( CCoreDispInfo *pDisp, CDispBox &box )
|
||||
{
|
||||
// Calculate the bbox for this displacement.
|
||||
Vector vMin( 1e24, 1e24, 1e24 );
|
||||
Vector vMax( -1e24, -1e24, -1e24 );
|
||||
Vector vMin( 1e16, 1e16, 1e16 );
|
||||
Vector vMax( -1e16, -1e16, -1e16 );
|
||||
|
||||
for ( int iVert = 0; iVert < 4; ++iVert )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user