mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 06:34:36 +00:00
uninitialized variables-t3d
This commit is contained in:
parent
87603029db
commit
fabd5864fa
27 changed files with 102 additions and 23 deletions
|
|
@ -24,6 +24,23 @@
|
|||
#include "T3D/decal/decalInstance.h"
|
||||
#include "scene/sceneRenderState.h"
|
||||
|
||||
DecalInstance::DecalInstance()
|
||||
: mDataBlock(NULL),
|
||||
mRotAroundNormal(0.0f),
|
||||
mSize(0.0f),
|
||||
mCreateTime(0),
|
||||
mVisibility(1.0f),
|
||||
mLastAlpha(1.0f),
|
||||
mTextureRectIdx(0),
|
||||
mVerts(NULL),
|
||||
mIndices(NULL),
|
||||
mVertCount(0),
|
||||
mIndxCount(0),
|
||||
mFlags(0),
|
||||
mRenderPriority(0),
|
||||
mId(-1),
|
||||
mCustomTex(NULL)
|
||||
{}
|
||||
void DecalInstance::getWorldMatrix( MatrixF *outMat, bool flip )
|
||||
{
|
||||
outMat->setPosition( mPosition );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue