mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
Merge pull request #1984 from FooBarbarians/fix-1912
Reordering initialization methods #1912
This commit is contained in:
commit
19dcfde60f
70 changed files with 207 additions and 205 deletions
|
|
@ -608,8 +608,8 @@ IMPLEMENT_CO_NETOBJECT_V1(MeshRoad);
|
|||
MeshRoad::MeshRoad()
|
||||
: mTextureLength( 5.0f ),
|
||||
mBreakAngle( 3.0f ),
|
||||
mPhysicsRep( NULL ),
|
||||
mWidthSubdivisions( 0 )
|
||||
mWidthSubdivisions( 0 ),
|
||||
mPhysicsRep( NULL )
|
||||
{
|
||||
mConvexList = new Convex;
|
||||
|
||||
|
|
@ -2453,4 +2453,4 @@ DefineEngineMethod( MeshRoad, postApply, void, (),,
|
|||
)
|
||||
{
|
||||
object->inspectPostApply();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,14 +61,14 @@ ConsoleDocClass( TimeOfDay,
|
|||
);
|
||||
|
||||
TimeOfDay::TimeOfDay()
|
||||
: mElevation( 0.0f ),
|
||||
mAzimuth( 0.0f ),
|
||||
mAxisTilt( 23.44f ), // 35 degree tilt
|
||||
: mStartTimeOfDay( 0.5f ), // High noon
|
||||
mDayLen( 120.0f ), // 2 minutes
|
||||
mStartTimeOfDay( 0.5f ), // High noon
|
||||
mAxisTilt( 23.44f ), // 35 degree tilt
|
||||
mAzimuth( 0.0f ),
|
||||
mElevation( 0.0f ),
|
||||
mTimeOfDay( 0.0f ), // initialized to StartTimeOfDay in onAdd
|
||||
mPlay( true ),
|
||||
mDayScale( 1.0f ),
|
||||
mPlay( true ),
|
||||
mNightScale( 1.5f ),
|
||||
mAnimateTime( 0.0f ),
|
||||
mAnimateSpeed( 0.0f ),
|
||||
|
|
|
|||
|
|
@ -196,15 +196,15 @@ WaterObject::WaterObject()
|
|||
mUndulateMaxDist(50.0f),
|
||||
mMiscParamW( 0.0f ),
|
||||
mUnderwaterPostFx( NULL ),
|
||||
mBasicLighting( false ),
|
||||
mOverallWaveMagnitude( 1.0f ),
|
||||
mOverallRippleMagnitude( 0.1f ),
|
||||
mCubemap( NULL ),
|
||||
mSoundAmbience( NULL ),
|
||||
mOverallWaveMagnitude( 1.0f ),
|
||||
mBasicLighting( false ),
|
||||
mSpecularPower( 48.0f ),
|
||||
mSoundAmbience( NULL ),
|
||||
mCubemap( NULL ),
|
||||
mSpecularColor( 1.0f, 1.0f, 1.0f, 1.0f ),
|
||||
mDepthGradientMax( 50.0f ),
|
||||
mEmissive( false )
|
||||
mEmissive( false ),
|
||||
mDepthGradientMax( 50.0f )
|
||||
{
|
||||
mTypeMask = WaterObjectType;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue