mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-14 17:05:26 +00:00
Reordering initialization methods #1912
This commit is contained in:
parent
e724b2fcdd
commit
970dd5c477
70 changed files with 207 additions and 205 deletions
|
|
@ -84,12 +84,12 @@ ForestWind::ForestWind( ForestWindEmitter *emitter )
|
|||
mDirection( 1.0f, 0, 0 ),
|
||||
mLastGustTime( 0 ),
|
||||
mLastYawTime( 0 ),
|
||||
mCurrentTarget( 0, 0 ),
|
||||
mCurrentInterp( 0 ),
|
||||
mTargetYawAngle( 0 ),
|
||||
mCurrentInterp( 0 ),
|
||||
mCurrentTarget( 0, 0 ),
|
||||
mParent( emitter ),
|
||||
mIsDirty( false ),
|
||||
mRandom( Platform::getRealMilliseconds() + 1 )
|
||||
mRandom( Platform::getRealMilliseconds() + 1 ),
|
||||
mIsDirty( false )
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -204,8 +204,9 @@ void ForestWind::setDirection( const VectorF &direction )
|
|||
IMPLEMENT_CO_NETOBJECT_V1(ForestWindEmitter);
|
||||
|
||||
ForestWindEmitter::ForestWindEmitter( bool makeClientObject )
|
||||
: mEnabled( true ),
|
||||
mAddedToScene( false ),
|
||||
:
|
||||
mAddedToScene( false ),
|
||||
mEnabled( true ),
|
||||
mWind( NULL ),
|
||||
mWindStrength( 1 ),
|
||||
mWindDirection( 1, 0, 0 ),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue