mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
uninitialized variables-verve
This commit is contained in:
parent
43259e29c1
commit
36cbc4c962
3 changed files with 12 additions and 7 deletions
|
|
@ -29,6 +29,8 @@ IMPLEMENT_CONOBJECT( VSpawnSphereSpawnTargetTrack );
|
||||||
|
|
||||||
VSpawnSphereSpawnTargetTrack::VSpawnSphereSpawnTargetTrack( void )
|
VSpawnSphereSpawnTargetTrack::VSpawnSphereSpawnTargetTrack( void )
|
||||||
{
|
{
|
||||||
|
mDespawnOnStop = false;
|
||||||
|
mDespawnOnLoop = false;
|
||||||
setLabel( "SpawnTargetTrack" );
|
setLabel( "SpawnTargetTrack" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,8 @@ VActorPhysicsController::VActorPhysicsController( void ) :
|
||||||
mControlState( k_NullControlState ),
|
mControlState( k_NullControlState ),
|
||||||
mMoveState( k_NullMove ),
|
mMoveState( k_NullMove ),
|
||||||
mVelocity( VectorF::Zero ),
|
mVelocity( VectorF::Zero ),
|
||||||
mGravity( 0.f, 0.f, -9.8f )
|
mGravity( 0.f, 0.f, -9.8f ),
|
||||||
|
mOnGround(false)
|
||||||
{
|
{
|
||||||
// Void.
|
// Void.
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -199,7 +199,7 @@ private:
|
||||||
public:
|
public:
|
||||||
|
|
||||||
VPathEditorEditPathAction( const UTF8 *pName = "" ) :
|
VPathEditorEditPathAction( const UTF8 *pName = "" ) :
|
||||||
UndoAction( pName )
|
UndoAction( pName ), mEditor(NULL), mPath(NULL)
|
||||||
{
|
{
|
||||||
// Void.
|
// Void.
|
||||||
};
|
};
|
||||||
|
|
@ -218,9 +218,11 @@ private:
|
||||||
public:
|
public:
|
||||||
|
|
||||||
VPathEditorEditNodeAction( const UTF8 *pName = "" ) :
|
VPathEditorEditNodeAction( const UTF8 *pName = "" ) :
|
||||||
UndoAction( pName )
|
UndoAction( pName ), mEditor(NULL), mPath(NULL), mNodeIndex(0), mNodeWeight(0.0f)
|
||||||
{
|
{
|
||||||
// Void.
|
// Void.
|
||||||
|
mNodeOrientation.Type = VPathNode::k_OrientationFree;
|
||||||
|
mNodeOrientation.Point = Point3F(0.0f, 0.0f, 0.0f);
|
||||||
};
|
};
|
||||||
|
|
||||||
VPathEditor *mEditor;
|
VPathEditor *mEditor;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue