mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-16 12:54:49 +00:00
Move a bunch of math to cpp files + small fixes
This commit is contained in:
parent
93d77f340d
commit
38ec1bd50d
14 changed files with 857 additions and 529 deletions
|
@ -700,7 +700,7 @@ CGlass::WindowRespondsToExplosion(CEntity *entity, CVector point)
|
|||
|
||||
if ( fDistToGlass < 10.0f )
|
||||
{
|
||||
distToGlass.Normalise(0.3f);
|
||||
distToGlass *= (0.3f / fDistToGlass); // normalise
|
||||
WindowRespondsToCollision(object, 10000.0f, distToGlass, object->GetPosition(), true);
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue