mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
uninitialized variables-collision
This commit is contained in:
parent
1cea8ffacb
commit
e9415a0994
18 changed files with 62 additions and 20 deletions
|
|
@ -46,6 +46,19 @@ S32 num_irregularities = 0;
|
|||
|
||||
GjkCollisionState::GjkCollisionState()
|
||||
{
|
||||
mBits = 0;
|
||||
mAll_bits = 0;
|
||||
U32 x, y;
|
||||
for (x = 0; x < 16; x++)
|
||||
for (y = 0; y < 4; y++)
|
||||
mDet[x][y] = 0.0f;
|
||||
|
||||
for (x = 0; x < 4; x++)
|
||||
for (y = 0; y < 4; y++)
|
||||
mDP[x][y] = 0.0f;
|
||||
|
||||
mLast = 0;
|
||||
mLast_bit = 0;
|
||||
mA = mB = 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue