Added initial values, to be corrected.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1101 dfc29bdd-3216-0410-991c-e03cc46cb475
master
hybrid 2007-12-06 00:05:16 +00:00
parent f6f335af7f
commit 6a714981eb
1 changed files with 4 additions and 1 deletions

View File

@ -59,7 +59,9 @@ struct SMD3Skin
//! Constructor //! Constructor
CAnimatedMeshMD3::CAnimatedMeshMD3 () CAnimatedMeshMD3::CAnimatedMeshMD3 ()
: Mesh ( 0 ) // TODO: Correct initial values needed
: Mesh(0), IPolShift(0), LoopMode(0), Scaling(1.f)
{ {
#ifdef _DEBUG #ifdef _DEBUG
setDebugName("CAnimatedMeshMD3"); setDebugName("CAnimatedMeshMD3");
@ -91,6 +93,7 @@ u32 CAnimatedMeshMD3::getFrameCount() const
void CAnimatedMeshMD3::setInterpolationShift ( u32 shift, u32 loopMode ) void CAnimatedMeshMD3::setInterpolationShift ( u32 shift, u32 loopMode )
{ {
IPolShift = shift; IPolShift = shift;
LoopMode = loopMode;
} }