mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-27 07:15:37 +00:00
uninitialized variables-math
This commit is contained in:
parent
5f59ebbacc
commit
ebb7ed1b78
13 changed files with 32 additions and 19 deletions
|
|
@ -186,8 +186,16 @@ struct FrustumData : public PolyhedronData
|
|||
void _update() const;
|
||||
|
||||
FrustumData()
|
||||
: mDirty( false ),
|
||||
mIsInverted( false ) {}
|
||||
: mIsOrtho(false),
|
||||
mNearLeft(-1.0f),
|
||||
mNearRight(1.0f),
|
||||
mNearTop(1.0f),
|
||||
mNearBottom(-1.0f),
|
||||
mNearDist(0.1f),
|
||||
mFarDist(1.0f),
|
||||
mTransform(MatrixF(true)),
|
||||
mDirty( false ),
|
||||
mIsInverted( false ) {}
|
||||
|
||||
public:
|
||||
|
||||
|
|
@ -478,4 +486,4 @@ class Frustum : public PolyhedronImpl< FrustumData >
|
|||
/// @}
|
||||
};
|
||||
|
||||
#endif // _MATHUTIL_FRUSTUM_H_
|
||||
#endif // _MATHUTIL_FRUSTUM_H_
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue