Definition at line 257 of file ChangingToView.h. References mMoveDuration, mMoveTimePassed, mReqX, mReqY, mReqZ, mStartX, mStartY, mStartZ, TimePassedFactor(), and UpdatePosition(). Referenced by OnDrawView(). 00258 { 00259 float fact = TimePassedFactor(mMoveTimePassed,mMoveDuration); 00260 float x = mStartX + fact * (mReqX-mStartX); 00261 float y = mStartY + fact * (mReqY-mStartY); 00262 float z = mStartZ + fact * (mReqZ-mStartZ); 00263 UpdatePosition(x,y,z); 00264 }
Here is the call graph for this function:
|