mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-19 19:35:26 +00:00
uninitialized variables-collision
This commit is contained in:
parent
1cea8ffacb
commit
e9415a0994
18 changed files with 62 additions and 20 deletions
|
|
@ -92,12 +92,12 @@ void ConvexShapeCollisionConvex::getFeatures( const MatrixF &mat, const VectorF
|
|||
if ( pShape->mGeometry.points.empty() )
|
||||
{
|
||||
cf->material = 0;
|
||||
cf->object = NULL;
|
||||
cf->mObject = NULL;
|
||||
return;
|
||||
}
|
||||
|
||||
cf->material = 0;
|
||||
cf->object = mObject;
|
||||
cf->mObject = mObject;
|
||||
|
||||
// Simple implementation... Add all Points, Edges and Faces.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue